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, ..."Hardcode" Menu Levels"Hardcode" Menu Levels
Previous
 
Next
New Post
12/30/2008 8:01 PM
 

I am woking on a Skin and want to have 2 levels of Menus on the page.  I am currently using the Links object because I don't want drop down menus and the HTML is a lot cleaner.  For the most part, the site will be 2 levels deep, but occasionally it will vary.  Across the top of the page I always want the "Root" level of the menu for the main sections.  Down the left, I always want the immediate Children of the root level.  Right now the only way I can think to accomplish this is to have 3 different Skins that define the second menu using the appropriate level (root, same, child, parent) and manually set each page to use the appropriate Skin.  Is there a way to set a "Level1" hardcoded level, similar to the "Root" option?  Does anyone know of existing 3rd party menus that could do this (Free or Cheap is preferred since I'm doing this for a Non-Profit, but not manditory if it works), or point me in the right direction for creating my own?

Here is a sample of my Hierarcy and the Menus that should be displayed on each Page.

  • Home
  • Calendar
  • About Us
    • Leadership
    • Membership
      • Becoming a Member
  • Special Interest Groups
    • Location 1
    • Location 2

Home and Calendar should only display the Root Level since they don't have any pages under them.
On About Us, Leadership, Membership and Becoming A Member, the exact same menu should be displayed. (Leadership and Membership)
One Special Interest Groups, Location 1 and Location 2 the exact same menu should be dispalyed. (Location 1 and Location 2)

My current problem is that if a second level is empty, the control bumps up and uses the current level as opposed to leaving it blank.  The second issue is that I would like Membership and Becoming a Member to use the same skin, but I currently have to switch the "Level" in the links control so it's not behaving nicely.

I really hope I'm overlooking something simple, but if not, I can look at coding a new menu control as well.

Thanks,
Wayne

 
New Post
12/31/2008 2:29 AM
Accepted Answer 

Hi Wayne,

The default dnn menu does not have a "level" control setting. This is indeed unfortunate. There are a number of unordered lists menu's that you could use (snapsis, housemenu, ...). This requires some css knowledge however to get them to behave.

Peter


Peter Schotman
Cestus Websites voor DotNetNuke oplossingen in Nederland
Contact us for your custom design and skinning work.
 
New Post
12/31/2008 6:13 AM
 

Hi Wayne,

Snapsis menu can do the job I think. You can also make the sitemenu's yourself (if hard coded is needed) with an html text box and some css and/or jquery.

J.

 
New Post
12/31/2008 12:02 PM
 

Thank you both for your replies.  I will take a look at those two menu options and see if I can get one of them to work for me.

Wayne

 
New Post
1/5/2009 11:31 AM
 

Hi Wayne!

Have you managed to create the 2 level menus?

I'm newbie in DNN and I'm looking for this sollution.....

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ..."Hardcode" Menu Levels"Hardcode" Menu Levels


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