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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsIFrameIFramePass QueryString from Links (module) to IFrame (module).Pass QueryString from Links (module) to IFrame (module).
Previous
 
Next
New Post
8/27/2008 4:53 AM
 

Hi all,

I am wondering if it is possible to pass a QueryString via a link in Links module of DNN to IFrame module of DNN?
For example:

On the Links module I have links as below

Link 1
Link Name: Page 1
URL: http://localhost/dotnetnuke480/Default.aspx?tabid=36&language=en-US&pageid=1

Link 2
Link Name: Page 2
URL: http://localhost/dotnetnuke480/Default.aspx?tabid=36&language=en-US&pageid=2

And on my IFrame the URL is http://staging/default.aspx

So when I click on Page 1 (Link 1), the IFrame will get the value of pageid (QueryString) which is 1 and load the page on the IFrame with URL of http://staging/default.aspx?pageid=1, and when I click on Page 2 (Link 2), the IFrame will get the value of pageid (QueryString) which is 2 now, and load the page on the IFrame with URL of http://staging/default.aspx?pageid=2

Please note that the IFrame is on Home page of DNN.

Is above mentioned possible in DNN?
If yes how should I do it and in which version of DNN it is supported?
If no, what can you guys recommend?

Thank you.

Cheers,
Eric

 

 
New Post
8/27/2008 7:34 AM
 

Eric, this is absolutly possible, this is what the Iframe module is build for.

 

 

 
New Post
8/27/2008 9:07 AM
 

Just make sure that you select URL instead of page for the link type.  You can also use the text/html module as well.

 
New Post
8/27/2008 11:42 AM
 

Just a tiny 2 cents remark - the previous message - mentioning link type and text/html - was related to the Link module. Meaning, that in Link module you should select URL and not Page for the target page (where IFrame module is), and that instead of Link module you can use Text/HTML module, or anything else , really, that lets you create hyperlinks or otherwise control browser navigation

(as in onclick="document.location.href='somepage_where_I_have_my_iframe_module.aspx?myparam=the_best_param_value'").

Just felt like talking this morning :)


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsIFrameIFramePass QueryString from Links (module) to IFrame (module).Pass QueryString from Links (module) to IFrame (module).


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