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, ...DDR Menu TemplateDDR Menu Template
Previous
 
Next
New Post
9/6/2013 5:09 PM
 

I am developing the token.txt file for this static menu. 

<ul class='nav'>
  <li class='active'>
    <a href="index.html">Home</a>
  </li>
  <li class='dropdown'>
    <a href="#" class="dropdown-toggle" data-toggle="dropdown">Features</a>
    <ul class='dropdown-menu'>
      <li>
        <a href="features/pricing_tables.html">Pricing Table</a>
      </li>

    </ul>
  </li>
  <li class='dropdown'>
    <a href="#" class="dropdown-toggle" data-toggle="dropdown">Documentation</a>
    <ul class='dropdown-menu'>
      <li>
        <a href="documentation/get_started.html">Get Started</a>
      </li>
      <li>
        <a href="documentation/scaffolding.html">Scaffolding</a>
      </li>
      <li>
        <a href="documentation/base_css.html">Base CSS</a>
      </li>
      <li>
        <a href="documentation/components.html">Components</a>
      </li>
      <li>
        <a href="documentation/javascript.html">Javascript</a>
      </li>
    </ul>
  </li>

  <li class=''>
    <a href="contact.html">Contact</a>
  </li>
</ul>

 

I already converted it to the token.txt file.

<ul class="nav">
  [*>NODE]
</ul>
[>NODE]
<li class="[?NODE]dropdown [/?][?SELECTED]active[/?]">
  [?ENABLED]
  <a href="[=URL]" class="dropdown-toggle" data-toggle="dropdown">
    [=TEXT] [?NODE]<b class="caret"></b>[/?]
  </a>
  [?ELSE]
  <a href="#" class=''>
    [=TEXT] [?NODE]<b class="caret"></b>[/?]
  </a>
  [/?]
  [?NODE]
  <ul class="dropdown-menu">
    [*>NODE]
  </ul>
  [/?]
</li>
[/>]

 

 

Everything is working apart from one thing. The first node which hasn't any child nodes are not clickable. I just want to be non-clickable only for the pages which have sub pages. But now all parent pages are non clickable.

 

Please can you help me where do I have mistaken? 

The skin is using boostrap files too.

Please advise.

Thank You!

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DDR Menu TemplateDDR Menu Template


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