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  |  

  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  put javascript in head now can't login
Previous Previous
 
Next Next
New Post 3/20/2006 8:20 AM
User is offline Amanda MacAdams
3 posts
10th Ranked


put javascript in head now can't login 

I did something stupid, and can't figure out how to fix it. I had some javascript that needed to go into the head section. I found a spot somewhere in the portal (in the page settings, I think) where it allowed you to add stuff to the head section, so I pasted the script there. Everything seemed fine until I logged out and tried logging back in - as soon as I hit the login button I got an unhelpful javascript error.

Can I go in manually and delete the code I entered? Where is the head section for the site?

 
New Post 3/20/2006 9:05 AM
User is offline Amanda MacAdams
3 posts
10th Ranked


Re: put javascript in head now can't login 

Nevermind. FYI, I found the section that was causing the problem in \Default.aspx.vb:

            If PortalSettings.ActiveTab.PageHeadText <> Null.NullString Then
                phDNNHead.Controls.Add(New LiteralControl(PortalSettings.ActiveTab.PageHeadText))
            End If

Commented that out and was able to load the site and undo my change. For the record I was trying to add flash player detection.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  put javascript in head now can't login
 


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.

 


BataviaSoft DotNetNuke Solutions
BataviaSoft offers custom DotNetNuke solutions especially for the European and the South East Asian market.
www.bataviasoft.com
Viva Portals, L.L.C.
Expert module development and graphic design.
www.continure.com
DNN Photo Gallery
DNN Photo Gallery is a truly unique photo management module released January 1st 2006. With DNN Photo Gallery you can REALLY integrate images into your existing portal and make them look like they were designed for your site.
DNN Photo Gallery

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