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...Using Modules a...Using Modules a...New to DNN, Need help with DDR MenuNew to DNN, Need help with DDR Menu
Previous
 
Next
New Post
8/20/2014 9:45 AM
 

Hi, I'm new to the DNN platform. I am in need of some help getting a couple of menus set up on a site I am working on. I am using the DDR menu and I've been able to set up a couple of the simpler menus myself using the token templates as a starting point. I have a couple of others that I am having trouble with and I hope you can help me. 

The first menu is a menu for a responsive phone view. I need to add a couple of dummy items in the ul elements underneath the top level to allow me to have a back to main menu link, a back one level link, and a section header in the nav. Here's an example of the html code I am trying to achieve:

<ul id="phoneMenu">

    <li class="menu-level0">

    <a href="#">Home</a>

    </li>

    <li class="menu-level0 has-child">

    <a href="#">Employers</a>

    <ul>

        <li class="menu-level1 backMain"><a href="#">Main Menu</a></li>

        <li class="menu-level1 sectionHeader"><a href="#">Employers</a></li>

        <li class="menu-level1"><a href="#">LWCC Interactive</a></li>

        <li class="menu-level1"><a href="#">Claims</a></li>

        <li class="menu-level1"><a href="#">Safety &amp; Health</a></li>

        <li class="has-child menu-level1"><a href="#">Forms &amp; Documents</a>

        <ul>

            <li class="menu-level2 backMain"><a href="#">Main Menu</a></li>

            <li class="menu-level2 backOne"><a href="#">Back One Level</a></li>

            <li class="menu-level2 sectionHeader"><a href="#">Forms &amp; Documents</a></li>

            <li class="menu-level2"><a href="#">Benefits &amp;Claims</a></li>

            <li class="menu-level2"><a href="#">Safety &amp; Health</a></li>

            <li class="menu-level2"><a href="#">Forms &amp; Documents</a></li>

            <li class="menu-level2"><a href="#">Return to Work</a></li>

            <li class="last menu-level2"><a href="#">Articles</a></li>

        </ul>

        </li>

    </ul>

    </li>

</ul>

 

The problem I'm having is that the depth classes are not being set right when I try to just add the dummy li elements in through the token text file template. I think it is because they aren't actually part of the node being written in so they have a depth that is one level higher than it should be. Based on my limited understanding of the documentation I think I may need to use the NodeManipulator parameter to add them, but I cannot find documentation on how to use it or an example. If you can help me I'd really appreciate it.

 

The second nav I'm having issue with is a subnav in a sidebar. In this case, I am trying to show the full list of pages under one root level page in the site, so for instance it would be something like this:

<aside class="sideBarLeft hidden-xs">

<h3><a href="#">Employers</a></h3>

<nav class="subNav">

<ul>

<li><a href="#">LWCC Interactive</a></li>

<li><a href="#">Claims</a></li>

<li><a href="#">Safety &amp; Health</a></li>

<li class="has-child"><a href="#">Forms &amp; Documents</a>

<ul>

<li><a href="#">Benefits &amp;Claims</a></li>

<li><a href="#">Safety &amp; Health</a></li>

<li><a href="#">Forms &amp; Documents</a></li>

<li><a href="#">Return to Work</a></li>

<li class="last"><a href="#">Articles</a></li>

</ul>

</li>

<li class="has-child"><a href="#">Fraud</a>

<ul>

<li><a href="#">LWCC Interactive</a></li>

<li><a href="#">CompZone</a></li>

<li><a href="#">Forms &amp; Documents</a></li>

<li><a href="#">Premium Audits/FAQs</a></li>

<li><a href="#">Pricing Programs</a></li>

<li class="last"><a href="#">Articles</a></li>

</ul>

</li>

<li><a href="#">OMNET</a></li>

<li><a href="#">Premium Audits/FAQs</a></li>

<li><a href="#">Pricing Programs</a></li>

<li><a href="#">Premium Audits/FAQs</a></li>

<li><a href="#">Return to Work</a></li>

<li><a href="#">Articles</a></li>

<li class="last"><a href="#">Credit/Debit</a></li>

</ul>

 

</nav>

</aside>

 

Now, I can get the navigation itself to display with no problem, but I'm trying to get the h3 element at the top to display the name of the page at the root level that this tree is a sub page of. I would need this to work in each section of the site. I used the NodeSelector parameter set to RootChildren to display the nav tree and that seems to work, except it doesn't display the actual root level element only the children (unless of course I am using it the wrong way). Can anyone recommend a way to achieve this? 

I appreciate your help and please bear with me as I am very new to DNN, so I apologize if I have any questions here that seem kind of dumb.

Thanks,

Brian Rivet

 

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...New to DNN, Need help with DDR MenuNew to DNN, Need help with DDR Menu


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