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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...XHTML compliance problem with Text/HTML moduleXHTML compliance problem with Text/HTML module
Previous
 
Next
New Post
8/10/2006 10:23 AM
 
I'm trying to make my DNN installation XHTML compliant but am hitting a problem with the Text/HTML module.  It wraps everything in a <span> tag which is pretty much guaranteed to make validation fail because block level elements (e.g. <p>) aren't allowed within spans.

The obrienit.se tutorial says to change the <span> in \DesktopModules\HTML\HtmlModule.ascx to a <div> but the control seems to have changed and no longer contains a <span> tag. Instead it has a DNNLabelEdit control.

I can't seem to find the source of this to try to make it produce a div instead of a span.  Can anybody tell me how to change this?  Without it it would seem to be impossible to produce an XHTML compliant DNN site.  That is unless there is a complete alternative to the default Text/HTML module but this is a route I'd prefer not to go down if possible.

Thanks,

    Rob.


 
New Post
8/11/2006 9:24 AM
 
Well, in the absence of any interest whatsoever from the forum I solved the problem myself by getting the source of the Text/HTML module and removing the DNNLabelEdit control and replacing it with a simple place holder.  This meant that I had to remove the Update event handler and so lost the 'Click here to edit content' functionality, which was fine - I didn't want it anyway.

There are two points that I think are important here:

I couldn't find the source for the DNNLabelEdit control despite searching the entire source solution.  Does this exist anywhere?

It's very sad to see the such a fundamental part of the CMS becoming less not more standards compliant.  I feel that for such and advanced system (and I think the core and project teams have done a great job) this is one area where DNN is trailing way behind PHP based systems in particular, most of which are fully XHTML/CSS compliant.  Frankly, if I can't make DNN XHTML compliant it is entirely useless for me because we are fully commited to standards compliant sites.

    Rob.




 
New Post
8/11/2006 9:45 AM
 
You should be able to find source version of DNNLabelEdit and a number of DNN web controls from here

 http://dotnetnuke.com/DotNetNukeProjects/CoreWebControls/tabid/873/Default.aspx


Enterprise Forms for DotNetNuke

Version Control, Forms and Workflow Suite

 
New Post
8/11/2006 9:48 AM
 

I am looking at updating the tutorial on my site at www.obrienit.se to cover the latest versions  -  but there really hasn't been that much interest in the topic. (Big thanks to the person that made a donation! Cheers Edward!)

I do find this quite disappointing as other open source projects such as Joomla are striving towards both XHTML compliancy and meeting accessibility recommendations. I feel that it will certainly not help DNN in the longer term and will become an increasingly common criticism once the other systems get their house in order. If you take a look at for instance Joomla, it validates as xhtml out of the box. DNN should at least aim for validation - this isn't the same as meeting accessibility recommendations such as avoiding tables for layout. I feel that releasing with a default layout that doesn't validate is akin to shipping code that doesn't compile.

 
New Post
8/11/2006 9:49 AM
 
Cool, thanks.

I think I'll stick with the solution above for the moment.  I don't know what the side effects might be if I change a core control to output a <div> rather than a <span>.  Hopefully this would be minimal but it's hard to predict (for me at least).

    Rob.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...XHTML compliance problem with Text/HTML moduleXHTML compliance problem with Text/HTML module


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