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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Core RSS Functionality - Places window.open above doctype, blowing out the css.Core RSS Functionality - Places window.open above doctype, blowing out the css.
Previous
 
Next
New Post
6/20/2008 3:22 PM
 

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 6:59 PM
 

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


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
6/20/2008 10:27 PM
 

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 2:00 PM
 

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

 
New Post
7/24/2008 3:51 PM
 

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!

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Core RSS Functionality - Places window.open above doctype, blowing out the css.Core RSS Functionality - Places window.open above doctype, blowing out the css.


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