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, ...Submenu for a specific tabidSubmenu for a specific tabid
Previous
 
Next
New Post
5/4/2010 5:37 PM
 
Hi all great DNN's.

Can anyone tell me how i creates a submenu, tabmenu or menu2, that only shows up on one single page with a specific tabid? I have looked at Tinos NAV skin examples and experimented with different settings, without luck.

njhvidberg
http://njhvidberg.dk
http://newcomtech.dk

Niels-Jørgen Hvidberg http://newcomtech.dk http://njhvidberg.dk
 
New Post
5/4/2010 6:35 PM
Accepted Answer 

Niels,

What about creating a new skin with the 2nd menu on it and apply that skin only to the page in question?

Regards,

Rick.



PSDtoDNN - You supply the artwork... we'll build the skins!™
Website | Twitter | YouTube | Skype
 
New Post
5/5/2010 1:50 AM
 
<%If PortalSettings.ActiveTab.TabId = 23%>
Menu...
<%End If %>
 
New Post
5/13/2010 12:21 PM
 
Hi Timo and Rick
I've used both of your sugestions on my site and it works great. Thanks.
But!
My customer now want to have this solution on all the pages, which mean that he wants a vertical menu showing level 1(root) and 2, and a vertical menu showing level 3 and 4, if there are any levels to show.
I know i have seen the solution once, but i am unable to find it (maybe it was in the Solpart days?)

For the vertical menu, which works ok, the code is:
<div class="menu_style">
    <dnn:NAV runat="server" id="dnnNAV" ProviderName="DNNMenuNavigationProvider" IndicateChildren="false"
          ControlOrientation="Vertical" populatenodesfromclient="false" expanddepth="2" CSSControl="mainMenu">
    </dnn:NAV>
</div>

But the problem is to tell the horisontal menu to start in level 2. I have tried this code:
<div class="SubMenuHor">
  <dnn:NAV runat="server" id="dnnNAV2" providername="DNNMenuNavigationProvider" level="child"
       starttabid = "<% #Portalsettings.Activetab.Breadcrumbs(1).TabId%>"
       CSSControl="mainMenu" SeparatorHTML="&bull;&nbsp;&nbsp;" indicatechildren="false" controlorientation="Horizontal" >
  </dnn:NAV>
</div>
but it generates an error if there are no levels to show. Using Breadcrumbs(0) shows the wrong levels.

I'm so close to a solution (i think :-), can you help?

Niels-Jørgen Hvidberg http://newcomtech.dk http://njhvidberg.dk
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Submenu for a specific tabidSubmenu for a specific tabid


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