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, ...Multiple MenusMultiple Menus
Previous
 
Next
New Post
9/25/2006 3:08 PM
 

Hey guys, I'm trying to put together a skin with two instances of SolPart. I've put the tokens [MENU:1] and [MENU:2] in the skin with the following in the XML:

<Objects>
    <Object>
        <Token>[MENU:1]</Token>
           <Settings>
           <Setting>
                <Name>menualignment</Name>
                <Value>right</Value>
           </Setting>
           <Setting>
                <Name>Display</Name>
                <Value>vertical</Value>
           </Setting>
           </Settings>
      </Object>
    <Object>
       <Token>[MENU:2]</Token>
          <Settings>
          <Setting>
              <Name>menualignment</Name>
              <Value>right</Value>
          </Setting>
          <Setting>
              <Name>Display</Name>
              <Value>horizontal</Value>
           </Setting>
           </Settings>
    </Object>
</Objects>

Now, the part I'm hitting my head against the wall for is this: I see the definition "separatecss" and it's allowed values are True / False, so where do I define what the filename for the CSS is? Also, is there a way I can dictate which sections are displayed or is it only level-specific definitions (Root, child, same).

Thanks Much!

SB


Wells Doty Jr
Online Content Development
 
New Post
9/25/2006 4:01 PM
 

Hey Bob,
Same as with a normal, one-menu skin, the css for the menu is picked up in the series of stylesheets, mainly overridden and set in the skin.css - You need to set two different menu styles in one stylesheet, and sort it out in the ascx (or xml) file.
You can set the menu styles for your first menu and then copy/paste and re-name them slightly for the second menu, then set those styles as well.

The ascx ends up looking like this:


<dnn:SOLPARTMENU1 runat="server" id="dnnSOLPARTMENU1" useskinpatharrowimages="false" rootonly="true" menuborderwidth="0" selectedcolor="#cc9966" menualignment="Center" separator="<span>|</span>" separatorcssclass="wapaSeparator" rootmenuitembreadbcrumbcssclass="MainMenu_rootmenuitembreadcrumb" rootmenuitemcssclass="MainMenu_rootmenuitem" rootmenuitemactivecssclass="MainMenu_rootmenuitemactive" rootmenuitemselectedcssclass="MainMenu_rootmenuitemselected"/>

<dnn:SOLPARTMENU2 runat="server" id="dnnSOLPARTMENU2" selectedcolor="#cc9966" iconwidth="3" menuitemheight="1" level="child" display="vertical" downarrow="action_right.gif" rightarrow="action_right.gif" useskinpatharrowimages="false" menucontainercssclass="SecondMenu_MenuContainer" menubarcssclass="SecondMenu_MenuBar" menuitemcssclass="SecondMenu_MenuItem" menuiconcssclass="SecondMenu_MenuIcon" menuitemselcssclass="SecondMenu_MenuItemSel" menubreakcssclass="SecondMenu_MenuBreak" submenucssclass="SecondMenu_SubMenu" menuarrowcssclass="SecondMenu_MenuArrow" menurootarrowcssclass="SecondMenu_RootMenuArrow" rootmenuitemcssclass="SecondMenu_rootmenuitem" rootmenuitemselectedcssclass="SecondMenu_rootmenuitemselected"/>

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Multiple MenusMultiple Menus


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