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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGallerysolmenu syle before <html> tagsolmenu syle before tag
Previous
 
Next
New Post
8/19/2006 11:32 AM
 
Error: sytle of menu is renedred before <html>!
 
New Post
10/30/2006 10:58 AM
 
Thanks.  There was a setting in the code that displays the Stylesheets at the top of the HTML.  I assume that this was left in for debugging (as 3.0.12 is a beta release).  The team has made a note of it and it will be disabled in the final release.
 
New Post
10/31/2006 7:38 PM
 

I’ve done a lovely css skin, and have had to set the doctype (in default.aspx) as

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

All is working fine for everything, except the Gallery module which breaks the page in IE :@

this happens because <style> code is being put at the very top of the page, before the doctype declaration, this  is illegal and forcing ie to use a default doctype an ignore the xhtml one it should be using.

Just wondering if you could please point me to where this is being in the source so I can modify my version (i've had a looks but it's not obvious).  If the final release is due soon, and it will fix this then that would be fine.  When can we expect a final release?

Apart from that, thanks for all your hard work on a fantastic module!

Cheers,

tim


Tim NetPotential www.netpotential.co.nz
 
New Post
10/31/2006 11:51 PM
 

You can find the appropriate changes at:

   ControlGalleryMenu.ascx.vb (in Page_Load)   and ControlMediaMenu.vb  (in GalleryMenu_Load)

The code should look something like:

' Put the CSS into a separate file

SeparateCSS = True ' JIMJ changed from FALSE

(Note: you will need to compile this with .Net 1.1 and the DNN 3.x framework files)

PS.  If you are interested I have put together patched version of the Gallery module that includes this and many other patches.  But it only runs on DNN 4.x.  You can get it here:  www.Jegers.com

 

 
New Post
10/31/2006 11:58 PM
 
Brilliant!
Thanks James, I'll use your version as i am using DNN 4.3.4 (will probably upgrade to 4.3.5 also).

Cheers,
Tim

Tim NetPotential www.netpotential.co.nz
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGallerysolmenu syle before <html> tagsolmenu syle before tag


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