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 ForumsIFrameIFrameAutosizing and domainsAutosizing and domains
Previous
 
Next
New Post
7/7/2008 10:32 AM
 

Very sorry for delay.

Try adding a javascript call to a onload event -

document.domain = "mydomain.com";

You might need to experiment with this - may be you'll need to timeout the call, in which case you can do it like this:

setTimeout("document.domain = 'mydomain.com'",300);


You might also have to add that call to the page's header -

<script type="text/javascript">document.domain = 'mydomain.com';</script>

Please let me know if it worked for you.


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
New Post
7/14/2008 8:32 AM
 

I'm keen to know how to make this work Vitaly.

I've been working around the issue by making the menu item point to the URL of the target page, with the domain set to match what I have in the iframe. That works perfectly well when browsing to the page through the site, but is of course not failsafe; as people might arrive by other paths.

I've tried adding <script type="text/javascript">document.domain = 'www.mysite.com';</script> to the page header section in page settings, but had no luck with it.

Any ideas are appreciated,
Rob

 

 
New Post
7/14/2008 9:27 AM
 

I am guessing that your issue is having www subdomain?

We are going to change the code to take relative paths. You should add that setTimeout call (see above) into IFrame onload event.  Let me know how it went.


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
New Post
5/14/2009 12:39 AM
 

Vitaly,

I know this is an old thread, but I've just tried what you've mentioned and it doesnt work. I've tried it both with the setTimeout and without.

Interestingly enough, even though I save the onLoad event, when I do a view source, I dont see it there.

Do you have any other suggestions?

 
New Post
5/14/2009 3:23 AM
 

Can I see the page?


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsIFrameIFrameAutosizing and domainsAutosizing and domains


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