Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Declaring Querystring variables from DNNDeclaring Querystring variables from DNN
Previous
 
Next
New Post
12/10/2011 6:12 PM
 

Hello ,

Im having the following problem . I have a module wich i want to access it from different pages and depend on the page im trying to access it from i want it to behave differently. So i need a way to pass querystring variable to it on its initial page. 

When you insert a new page in DNN this page can either get you on the page that the DNN created or in Advanced settings of the page you can declare to redirect to another page or a url.

So since the Anotherpage in my site wont let me declare any querystring variables i found that the only way to achieve what i need is to click the url option and add manually the url of the page of my site(with the module) i want to hit and add at the end the querystring variables i want. 

This works fine but the only propblem is that the url is getting very long (not friendly at all :P) and the worse part is that after few clicks it sends a bad request . (very long url)

I wanted to know if there is any other way to be able to to declare querystring variables from DNN panel to a page..

DNN 5.6.3 ver

thanks in advance

 
New Post
12/11/2011 7:03 AM
 
I would expect that the original url requested is still part of http header when the page gets redirected, i.e. your module should be able to identify the URL being called without extra qs params.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/12/2011 5:25 AM
 
 to clarify
my home page

domain/Portal.aspx


when i hit on  the pages from the menu that i manually redirect i get


domain/~/ListItems/tabid/84/mid/439/MainQ/SEL/Default.aspx


when from that page i hit another page which i also redirect it manually i get


domain/~/ListItems/tabid/84/mid/439/MainQ/SEL/~/ListAccounts/tabid/92/mid/441/MainQ/REN/Default.aspx


and after few clicks more the userl gets very long so if the user wont hit a page wich works normally in order to reset the url. and just browses the pages that are manually redirected a nad request error is througn. 

Any thoughts ?? whould a SEO implementation would fix this

 
New Post
12/12/2011 9:04 AM
 

Fixed it

i had declared the url in the advanced settings of the page as

~/page.....

when i changed it to

domain/page.....

it does not produce the long url that keeps adding to the previous one

Thanks for your replies

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Declaring Querystring variables from DNNDeclaring Querystring variables from DNN


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out