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, ...add separator in menuitemsadd separator in menuitems
Previous
 
Next
New Post
11/11/2009 4:38 AM
 

hellow

i want  to add separator ( | ) in my menu items how can i add it with dnn:NAV  its argent can any one tell me plz? tell which class i use and which attributes of dnn:nav i use?...

 
New Post
11/11/2009 4:57 AM
 

Roshan,

You're looking for the SeparatorHTML setting in the skin.xml file.

Here's an example of the code in action:

<Object>
  <Token>[NAV]</Token>
    <Settings>
      <Setting>
          <Name>SeparatorHTML</Name>
          <Value> | </Value>
        </Setting>
     </Settings>
</Object>

Regards,

Rick.



PSDtoDNN - You supply the artwork... we'll build the skins!™
Website | Twitter | YouTube | Skype
 
New Post
5/14/2010 2:39 AM
 
Hi Rick

I wanted to add separator | to my menu on dnhbhutan.org.dnnmax.com. I tried to add in dnn:NAV Separator="&nbsp;|&nbsp;" but it does not worked and where can I find the file skin.xml because in my folder it does not exist.  Please suggest


 
New Post
5/15/2010 6:29 AM
 

Mukesh,

The skin.xml file is really only used when creating the HTML, XML and CSS skins, when this is uploaded as a skin, the parsing engine combines the html and xml file to create the .ascx file. (It's really a way for HTML and CSS designers to create skins without having to work with .ascx files). The skin you are working with may not have the skin.xml file as the designer can remove this when they are packaging up the skin because it's not really needed after the initial parsing.

To add this to the nav skin object, you'll need to add this into the skin.ascx file.

SeparatorHTML="&nbsp;|&nbsp;"

Regards,

Rick.



PSDtoDNN - You supply the artwork... we'll build the skins!™
Website | Twitter | YouTube | Skype
 
New Post
5/18/2010 9:07 AM
 
Thanks Rick
 
one more thing i wanted to make display nonebased on a condtion for a particular option in select box I tried to use display:none for that option but it is not working. How can I do this?
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...add separator in menuitemsadd separator in menuitems


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