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:3375

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

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
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:3375

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

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
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

RE: Email Set UP per Portal by jncraig
I think that the answer depends on how email is configured at your host. You'll probably have to co...
RE: skin/container error load by jncraig
I would suggest checking permissions for directories. Does this occur only when you upload a skin...
RE: Add New Profile Properties by jncraig
Hmmm ... I don't have an answer. Does anyone else?
RE: No Access for me too by ristori
it is ok now. Thanks for this action.
skin/container error load by islandman
Has anyone else run across this error when loading skins or containers from site settings?I am using...
Email Set UP per Portal by islandman
How do I set up a unique email address per domain name off 1 hosting environment. for example...m...
RE: localhost Install issues by cdees
Lee: I wanted to follow up on this for anyone following this thread. I have been unable to solve t...
RE: Add New Profile Properties by WSI
HI Joe, The DNN version is 4.5.5. Thanks, Cliff
Change Skin on URL by vinita
Hi,Can the skin be changed based on the url used to access a portal. Multiple portal aliases may be ...
problem creating child portal by kabamaro
  Hello all i have 4 Aliases for my parent portal , lets call them X,y,Z,WIn all Aliases i can creat...
problem creating child portal by kabamaro
  Hello all i have 4 Aliases for my parent portal , lets call them X,y,Z,WIn all Aliases i can creat...
Best DNN portal ever! by derpir
I have been a subscriber since august 2008, and DNNCreative.com is simply the best DNN Portal, their...
RE: skinning trouble by derpir
Hello Yes could you be so kind and take a look att the htm-file and css-file.I would be very gratef...
Search function is not working by kishorpawar
I am using Seach module in my project but not working, i have set   host setting alsoHost --> Schedu...
RE: backend is changing from sql2005 to sql2008 by leesykes
hello,There should not be any code changes needed, but you'll need to make sure that SQL 2008 upgrad...
RE: skinning trouble by leesykes
Hello,I would need to see your code to help you with this one, you can zip up your files and attach ...
RE: Installing DotNetNuke 4.9.00 on VWD 2005 w/ SQL server 2008 by leesykes
I have run a test with SQL Server 2008 express and DotNetNuke installed in exactly the the same way ...
RE: Issue 39 Interview by leesykes
thanks Bill, glad it was useful, we will have a think about the best way to approach this,Thanks,
RE: Issue 39 Authentication by leesykes
yes I have a live site in 4.9.0 at it seems stable as well.
backend is changing from sql2005 to sql2008 by meenu
hi all advance thanks. in my DNN0408 website am using sql2005 as backend.now planning to remove sq...
DotNetNuke Modules
RSS Feeds