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...Skins, Themes, ...Skins, Themes, ...SOLPARTMENU skinning issues DNN 455SOLPARTMENU skinning issues DNN 455
Previous
 
Next
New Post
8/11/2007 7:06 AM
 

I recently setup a skin with a solpartmenu that needs the colors of the ACTIVE ROOT MENU to be different:

 <Object>
  <Token>[SOLPARTMENU]</Token>
  <Settings>
   <Setting>
    <Name>rootmenuitemcssclass</Name>
    <Value>mainmenu_root</Value>
   </Setting>
   <Setting>
    <Name>rootmenuitemactivecssclass</Name>
    <Value>mainmenu_rootactive</Value>
   </Setting>
  </Settings>
 </Object>

When I examine the skin.ascx all the infomation seems correct.

<dnn:SOLPARTMENU runat="server" id="dnnSOLPARTMENU" rootmenuitemactivecssclass="mainmenu_rootactive" rootmenuitembreadcrumbcssclass="mainmenu_rootactive" rootmenuitemcssclass="mainmenu_root" menualignment="justify" />

But when I examine the generated code in a live page the css statement for the Active element is corrupted it would appear to 
css="mainmenu_root mainmenu_rootactive mainmenu_rootactive"  -- instead of css="mainmenu_rootactive" --- as shown below

<menuitem id="36" title="Home" url="xxx" lefthtml="&lt;img alt=&quot;*&quot; BORDER=&quot;0&quot; src=&quot;/images/breadcrumb.gif&quot;&gt;" css="mainmenu_root mainmenu_rootactive mainmenu_rootactive" /><menuitem id="62" title="Start a Biz Portal" url="xxx" css="mainmenu_root">

Anyone got any ideas on how to fix this issue.

Westa

 
New Post
8/14/2007 1:39 PM
 

Not sure I understand the issue.  Having spaces between class names is valid.  All classes will be applied to the item.  The only trick here is it is not the order in the css property that matters, rather the order the classes are in the css file (if each class defines the same styles).  (make sure your mainmenu_rootactive is listed after your other classes)


 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...SOLPARTMENU skinning issues DNN 455SOLPARTMENU skinning issues DNN 455


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