Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

telerik -- supercharge your DNN websites
  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Core RSS Functionality - Places window.open above doctype, blowing out the css.
Previous Previous
 
Next Next
New Post 6/20/2008 1:22 PM
Resolved
User is offline Jason Davenport
8 posts
10th Ranked


Core RSS Functionality - Places window.open above doctype, blowing out the css. 

I'm having a css problem after a user clicks the RSS button on the standard text/html module.  The rss functionality works fine, a new window opens and the feed it generated on RSS.aspx. The issue i'm having "on multiple sites" it that when the the user clicks the RSS button on the module, the page posts back and it injects

<script>window.open('http://www.mysite.com/DefaultPermissions/Home/tabid/36/moduleid/929/RSS.aspx','_blank')</script>

above the document type.  This in turn blows out the css for that page.

I'm having a tough time finding where this injection it taking place, i downloaded the core source and looked through that a bit with no luck.  Is this something anyone has come across?  Any thoughts?

Jason

 
New Post 6/20/2008 4:59 PM
User is offline cathal connolly
2756 posts
www.cathal.co.uk
5th Ranked










Re: Core RSS Functionality - Places window.open above doctype, blowing out the css. 

what version of dotnetnuke are you using, the rss.aspx page was removed a few versions back and replaced with an RSS handler  - you can look at the code for it in Library\Components\SyndicationHandlers , and inspect your web.config for the handler instruction.

Cathal

 
New Post 6/20/2008 8:27 PM
User is offline Jason Davenport
8 posts
10th Ranked


Re: Core RSS Functionality - Places window.open above doctype, blowing out the css. 

Thanks Cathal.

You are correct, its an older build of dotnetnuke.  I should have checked on that, some of our newer build sites don't have this issue now that i'm looking. Some of our clients don't have any desire to upgrade unless it they have too.  I found a work around by opening the link to the page using the same image in the content area itself.  If they don't decide to upgrade at this point, at least they can do this workaround.

Thanks Again,

Jason Davenport

 
New Post 7/24/2008 12:00 PM
User is offline ITLackey
78 posts
www.itlackey.net
10th Ranked


Re: Core RSS Functionality - Places window.open above doctype, blowing out the css. 

I am having the same issue using a fresh install of 4.8.4. I checked web.config and see entries in the <handlers> and <httpHandlers> sections pointing to rss.aspx. Is there something I can edit here to correct this issue?

TIA

Ian


IT Lackey
IWeb Project Member
www.itlackey.net
www.digitalsnap.net
 
New Post 7/24/2008 1:51 PM
User is offline ITLackey
78 posts
www.itlackey.net
10th Ranked


Re: Core RSS Functionality - Places window.open above doctype, blowing out the css. 

I have created a class that will help solve this issue and posted it for download here: http://itlackey.net/FreeCodeStuff/tabid/785/Default.aspx

Simply drop this into you App_Code folder (or bundle it with a SkinObjects installer  ), then make sure the container(s) you create inherit from it instead of the DotNetNuke.UI.Containers.Container class. You then get the DisplayRssLink methods that will spit out a string containg a link to the Rss for the module in the container. The link will respect the Allow Syndicate setting and uses the standard DNN Rss image. The link is a typical <a> tag with the target set to _blank. This prevents the need to inject the JavaScript into the <head> that breaks the Css.

I hope this helps some others that are having this same issue.

If there is a better solution please let me know, because this is a work around and may not be possible for everyone.

Thanks!


IT Lackey
IWeb Project Member
www.itlackey.net
www.digitalsnap.net
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Core RSS Functionality - Places window.open above doctype, blowing out the css.
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Faculty of Graduate and Postdoctoral Studies
At the graduate level, the University of Ottawa offers more than 180 graduate certificates, master's degrees and PhDs, as well as interdisciplinary programs such as Women's Studies and Canadian Studies. Many postdoctoral opportunities are available in both the sciences and the humanities. For further information, please consult the site of the Faculty of Graduate and Postdoctoral Studies.
www.grad.uottawa.ca
Vekkin Solutions
Vekkin Solutions provides complete website solutions and custom module development to churches and small businesses.
www.vekkin.com
Powered by Adcuent®.Com
Adcuent® Consulting & Technology offers custom development web applications and hosting projects under the brand of Powered by Adcuent®.Com
www.adcuent.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP