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...Administration ...Administration ...Menus & XPathMenus & XPath
Previous
 
Next
New Post
10/16/2006 8:04 AM
 
Hi,
I'm new to DNN, but an experienced ASP.NET 2.0 programmer. I feel like I'm banging my head against a brick wall. I'm trying to convert a simple sample site into DNN. The site is as follows:

http://www.petraweb.net

There are two menus on the page which I'm trying to replicate. The top menu, which consists of "Home, About Me, My Portfolio" and a side menu which shows all the children of the selected top menu item.

Thus, and you'll need to look at the site to follow this, if you click on "My Portfolio" and then "Children's Books Gallery" you'll see that the top menu is still the root items and the left hand menu is still everything under the selected root menu item.

In DNN I can easily replicate the top menu with something similar to this (cut down for the example):


For the side menu I just don't see how to do it at all. The nearest that I have is as follows (again cut down):


Which always shows the children for a particular root item menu that is selected. However as you can see I have hardcoded the top item by using StartTabId="54".

I would love to find a solution to this, but having trawled around all the documentation that I can find I cannot see a way. The easiest solution as I see it would be to allow a StartTabXPathExp parameter that allows an xpath statement to select the top menu item, with some kind of tag that one could include to indentify the current tab, something like [TABID].

If anyone can help I'd really appreciate it as I'm going nuts, but would really like to move our company onto using DNN as a solution for many of our ongoing problems.

Thanks in advance.

Kindest regards

Steven Wilber
 
New Post
10/16/2006 4:15 PM
 

Apologies, it seems that the two examples were stripped from the posting for being HTML - I'll try again using the HTML editor.

Example 1 - easily replicate the top menu (cut down for clarity)

<dnn:NAV runat="server" ID="dnnNAV" ProviderName="DNNMenuNavigationProvider" StartTabId="-1" ControlOrientation="horizontal" />

 

Example 2 - the side menu - this is the nearest I can get, but top element hard coded (cut down for clarity)

<dnn:NAV runat="server" ID="NAV1" ProviderName="DNNMenuNavigationProvider" StartTabId="54" level="Child" ControlOrientation="vertical" />

 

Apologies for the double posting. I sincerely hope that someone can point me in the right direction.

Kindest regards

Steven Wilber

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Menus & XPathMenus & XPath


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