You need to Register for free and Login to post a message in the forum.

Forum

Subject: Switching to XHTML doctype causes javascript errors
Prev Next
You are not authorized to post a reply.

Author Messages
Ensonix
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:4

18 Jun 2008 5:10 AM  
Hi

I'm trying to install XHTML skins on my DNN4.8.3 site and having a problem where adding the skin.doctype.xml document causes javascript errors. The symptons include FCKEditor not displaying, FeedBrowser having no styles attached, and various other style issues where javascript is used.
I've made all changes mentioned in the tutorials on this site and the pages validate correctly. I've confirmed this error on my own skins and third party skins, including the core DNN-Blue and DNN-Grey skins.

Any ideas where to start looking for the solution here?

Thanks
Ryan
leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3112

18 Jun 2008 7:24 AM  
I have not come across that problem, have you tried installing one of these skins?


Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts
Ensonix
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:4

18 Jun 2008 7:30 AM  
I reinstalled the FCKeditor from a default install and fixed that error, but the style problem still exists with the FeedBrowser.

I tried installing Andreas09 and got the same problem with the Feedbrowser, even on a clean install.
leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3112

18 Jun 2008 7:33 AM  
ok, well this sounds like a bug then, I would report it to the core team and see if they can find a fix for it in future versions, thanks,

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts
vjcapron
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:3

25 Jun 2008 10:41 AM  
I was having the same types of javascript errors with my XHTML skin and the File Manager control.  I checked into it and I determined that the initFileManager() javascript function was not being called on page load when my doctype was set to XHTML transitional. 

I added this line:

window.onload=initFileManager;

to the javascript at the top of admin-->files-->filemanager.ascx to get the control to work with my XHTML skin.


I am willing to bet that your javascript is erroring out because it is not being initialized on page load properly for the same reason.
Ensonix
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:4

26 Jun 2008 3:13 PM  

I found the solution to the feedbrowser problem in my case. In the settings for the Feedbrowser, the values of the Themes, platinum and graphite are lowercase, but need to be Title case in order to match the css classes in the javascript and css files.

In:

admin/syndication/feedbrowsersettings.ascx

Change:

ropDownList id="Theme" runat="server" CssClass="NormalTextBox" Width="250px">
                Platinum
                Graphite
ropDownList>

to

ropDownList id="Theme" runat="server" CssClass="NormalTextBox" Width="250px">
                Platinum
                Graphite
ropDownList>

Ensonix
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:4

27 Jun 2008 3:21 AM  
sorry about that, i can't get it to display code correctly. In those two lines, you'll see that the value of both listitems is set to lowercase, change them to uppercase.
You are not authorized to post a reply.
Forums > Users Lounge > Everything Else > Switching to XHTML doctype causes javascript errors



ActiveForums 3.7

Latest Forum Posts

News&Articles Module by gabrieleseven
Hello, I've created a Portal for news and info about the world of music. I need a module that allow ...
RE: Install DNN.4 on Win 2003 and SQL2000 by jncraig
1. Add a portalalias for your new site's URL before you do anything. 2. Make a backup of your dat...
RE: Custom Module Development by jncraig
I would recommend adefwebserver.com for good information on writing modules. Without looking over...
RE: Dynamic page navigation by jncraig
I take it that you have developed 10 separate pages? Are these pages with a custom module or with c...
RE: Pop up window by jncraig
I believe that ZLDNN (zldnn.com) has a module that will pop up a page or a module. I've not tried i...
Dynamic page navigation by coder247
Hi all,          We are developing a web app using DNN and we've a requirement like this. There are ...
Custom Module Development by neenu
I created my own module using DAL,by adding 4 class files in app_code directory, say alistinfo.vb,al...
Pop up window by yerann
Whenever a page loads in DNN i would like a pop up window to display.  This pop window ask the user ...
RE: Customise registration page by nichord
Thanks Rob... I would have never found this one on my own.And many thanks to you Lee... My print com...
Install DNN.4 on Win 2003 and SQL2000 by amine97
Hi all,I will be working on creating a website on my development server Windows 2003 and SQL Server ...
RE: Dynamically Add modules by jncraig
You can include a module on multiple pages within a portal by selecting "add existing module" on the...
music player, music charts by mrvorazan
hey,i havev to create a music portal, so i need a module to upload music files by users, they have t...
Dynamically Add modules by UmaRam
Hi, Please advice how to add an existing module in a page to another page in the same portal and ...
Dynamically add module by UmaRam
Hi, Please advice how to add an existing module in a page to another page in the same portal and ...
RE: VWD 2008 & SQL Express 2008? by rc_kemal
It is very difficult to convert the database from sql2008 express to sql2005 express. To answer my o...
RE: User Registration Questions by jncraig
I would recommend that you NOT begin your DotNetNuke life by starting to modify any of the code. Ye...
RE: Dotted Lines Around Navigation by HUGHD37IUOE
Here it is: http://www.iuoe.org
RE: Installing on XP Home by nexduke
Hi Yes, I'm using SQL Server Express 2005, what would you suggest I do if it is a configuaration ...
RE: Exporting and transferring Modules. by ollep
Thanks Lee! Yes I will check out the Forum – and the hosts before I sign up.   I expect to see an...
User Registration Questions by stevennestler
Hi.I'm new to DNN, and just watched my first set of videos on this site, for customizing registratio...
DotNetNuke Modules
RSS Feeds