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, ...<NAV> Tokens
Previous
 
Next
New Post
6/18/2008 5:58 PM
 

I notice in the installed default skins for 4.8.3 that the horizontal menus use <NAV> and the vertical menus use <TREEVIEW>

I downloaded the skinning document to check for tokens to use to format <NAV>, but there are no tokens listed for that control, but there are boatloads for <SOLPARTMENU> (the skinning document is from 2006)

I would really like the look of NAV instead of the TREEVIEW in a horizontal menu - are there tokens for <NAV> listed anywhere?  I haven't been able to find a resource anywhere.  I assume that the SOLPARTMENU is older?  Are they interchangeable?  I tried searching the skinning document for one of the tokens listed for NAV in the default skins, but they aren't anywhere.  I must be missing something!

 
New Post
6/19/2008 10:19 AM
 

So, after spending a couple of hours poking around, I found a document that explains the NAV tokens (note to DNN site coordinators - not a very intuitive place for the doc!)

I added the vertical flag to my xml file, but no matter what I do, that token doesn't get parsed when I upload the skin.  The zip file for the skin has html, css, and xml files along with images.

Here is my XML token code:

 

<Object>
<Token>[NAV]</Token>
<Settings>
<Setting>
<Name>ProviderName</Name>
<Value>DNNMenuNavigationProvider</Value>
</Setting>
<setting>
<Name>ControlOrientation</Name>
<Value>vertical</Value>
</setting>
<Setting>
<Name>CSSControl</Name>
<Value>main_dnnmenu_bar</Value>  </Setting> 
 
<Setting> 
<Name>CSSContainerRoot</Name> 
 
<Value>main_dnnmenu_container</Value> 
 
</Setting> 
 
<Setting> 
 
<Name>CSSNode</Name> 
 
<Value>main_dnnmenu_item</Value> 
 
</Setting> 
 
<Setting> 
 
<Name>CSSNodeRoot</Name> 
 
<Value>main_dnnmenu_rootitem</Value> 
 
</Setting> 
 
<Setting> 
 
<Name>CSSIcon</Name> 
 
<Value>main_dnnmenu_icon</Value> 
</Setting> 
 
<Setting> 
 
<Name>CSSContainerSub</Name> 
 
<Value>main_dnnmenu_submenu</Value> 
 
</Setting> 
 
<Setting> 
 
<Name>CSSBreak</Name> 
 
<Value>main_dnnmenu_break</Value> 
 
</Setting> 
 
<Setting> 
 
<Name>CSSNodeHover</Name> 
 
<Value>main_dnnmenu_itemhover</Value>
  </Setting> 
 
<Setting> 
 
<Name>NodeLeftHTMLBreadCrumbRoot</Name> 
 
<Value><![CDATA[<img alt="*" BORDER="0" src="breadcrumb.gif"/>]]></Value> 
 
</Setting> 
 </Settings> 
 
</Object>

Here is what gets parsed when the skin is uploaded/parsed

  • Processing token: [NAV]
  • Token is skin object: Admin/Skins/Nav.ascx
  • Token found in attributes file: [NAV]
  • Formatting token attribute: ProviderName="DNNMenuNavigationProvider"
  • Formatting token attribute: CSSControl="main_dnnmenu_bar"
  • Formatting token attribute: CSSContainerRoot="main_dnnmenu_container"
  • Formatting token attribute: CSSNode="main_dnnmenu_item"
  • Formatting token attribute: CSSNodeRoot="main_dnnmenu_rootitem"
  • Formatting token attribute: CSSIcon="main_dnnmenu_icon"
  • Formatting token attribute: CSSContainerSub="main_dnnmenu_submenu"
  • Formatting token attribute: CSSBreak="main_dnnmenu_break"
  • Formatting token attribute: CSSNodeHover="main_dnnmenu_itemhover"
  • Formatting token attribute: NodeLeftHTMLBreadCrumbRoot="*"
  • Formatting control statement: <dnn:NAV runat="server" id="dnnNAV" ProviderName="DNNMenuNavigationProvider" CSSControl="main_dnnmenu_bar" CSSContainerRoot="main_dnnmenu_container" CSSNode="main_dnnmenu_item" CSSNodeRoot="main_dnnmenu_rootitem" CSSIcon="main_dnnmenu_icon" CSSContainerSub="main_dnnmenu_submenu" CSSBreak="main_dnnmenu_break" CSSNodeHover="main_dnnmenu_itemhover" NodeLeftHTMLBreadCrumbRoot=""*"" />
  •  

    it appears that it is skipping the ControlOrientation setting - does this have to be in a particular order? 

    Here is the temporary site:  newsite.2andys.com

     
    New Post
    6/19/2008 11:14 AM
     

    documentation of Nav (which is a wrapper for the configured menu in web.config file) states "The orientation of the menu, default is Horizontal, usage depends on the provider used". I remember, Jon posted once about an issue with this property, in his blog he uses "Orientation" instead of ControlOrientation, please try this.


    Cheers from Germany,
    Sebastian Leupold

    dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

    Speed up your DNN Websites with TurboDNN
     
    New Post
    6/19/2008 11:29 AM
     

    Would you let the rest of us know where you found the document please.

    TIA

    Antony

     
    New Post
    6/19/2008 12:00 PM
     

    in the Menu: resources > Documentation > Downloads


    Cheers from Germany,
    Sebastian Leupold

    dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

    Speed up your DNN Websites with TurboDNN
     
    Previous
     
    Next
    HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...<NAV> Tokens


    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