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 ForumsGalleryGallerystyle tag rendered before everything elsestyle tag rendered before everything else
Previous
 
Next
New Post
8/5/2007 5:29 PM
 

hallo,
i'm using the gallery module in one of the page of my website. It is a centered website with a xhtml transitional doctype. The gallery module generates a long style tag with lots of attributes and put it in the page before everything else (before the doctype declaration): this causes the website not to be centered in that specific page, probably because the browser would expect the doctype declaration and not a style tag. Does anyone know how to avoid this style tag? Thanks 

 
New Post
8/6/2007 1:43 PM
 

When you say style tag do you mean the solpartmenu javascript code?  Does this happen on all pages, or just certain views? 

The reason I ask is that the offical gallery 3.0.12 has the solpartmenu javascript code inserted at the top of the pages which causes some browsers to error on it.  (there is a switch in the code that tells the menu to put the javascript in a separate file).

 
New Post
8/6/2007 1:53 PM
 

Hallo,

the style tag I wrotea about it appears only in the page where I use the gallery module. It looks like this:

<style>
.dnn_ctr380_container_ctl170_ctlmenu_spmbctr {border-bottom:transparent 0px solid; border-left: etc etc }
.dnn_ etc etc...
...
</style>

It doesn't look like a javascript to me... it is css code that appears before the doctype declaration.

 
New Post
8/7/2007 2:06 PM
 

Sorry, my memory was confused.  The error is with the SolPartMenu _CSS_ being put at the top of the file (not the javascript).  You can see this old artical regarding it.

http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/9/threadid/114654/scope/posts/Default.aspx

 

 
New Post
8/9/2007 5:28 AM
 

thanks James,

I tried 04.02.01 and it works greately

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGallerystyle tag rendered before everything elsestyle tag rendered before everything else


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