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, ...Breadcrumb - RootlevelBreadcrumb - Rootlevel
Previous
 
Next
New Post
12/14/2006 1:34 AM
 
Hi,

How do I can separate the BREADCRUMB in Menu and Submenus ?

[BREADCRUMB:1] Menu      |       [BREADCRUMB:2] Submenus

 

Only Submenus:
<dnn:BREADCRUMB runat="server" id="dnnBREADCRUMB" RootLevel="1" />

Menu Completely:
<dnn:BREADCRUMB runat="server" id="dnnBREADCRUMB" RootLevel="0" />

Only Menu ,without Submenus ?

Jens

 
New Post
12/15/2006 7:07 AM
 
To display only the root level menu items, I'd use LINKS instead of BREADCRUMB, set to level="Root" and apply the style I want.
 
New Post
12/18/2006 6:09 AM
 

<dnn:LINKS runat="server" id="dnnLINKS" Level="Root" />
AND
<dnn:BREADCRUMB runat="server" id="dnnBREADCRUMB" CssClass="BreadCrumbCss" Separator="&nbsp;&raquo;&nbsp;" RootLevel="1" />

The Problem: I see the completely Menu (Sample: Home | News | Links)

 I want disply only the active Menu-Link (not the completely menu)! 

Sample:   News (LINKS)  |  Today >> Morning (BREADCRUMB)

No selection (start the website) > No menu (submenu)

Home
News  > Today (Child1)  > Morning(Child2)
Links

 
New Post
12/19/2006 2:57 AM
 
The Problem is, LINKS display the completely menu (all main Sites).
I need only the active main menu link (without the other Menu-Links and Childs)
<dnn:LINKS runat="server" ID="dnnLINKS" Level="Root"/>
Sample (Menu):
Home
News     > Today > Morning
Contact
News (LINKS)    |     Today >> Morning (BREADCRUMB  RootLevel=1)
 
New Post
1/9/2007 5:01 PM
 
I know this is an old post, but I'm surprised nobody has helped you. I am just learning dotnetnuke, but happen to know what you are trying to do.

There is an object called 'PortalSettings' which gives you all sorts of information, including the Active Tab. From this you can build a link, or whatever you want.

In the code behind file, you can get the tab's Name with:  PortalSettings.ActiveTab.TabName
and either the relative Url (I believe) or Full Url with PortalSettings.ActiveTab.Url  and PortalSettings.ActiveTab.FullUrl  respectively.

Hope this helps!
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Breadcrumb - RootlevelBreadcrumb - Rootlevel


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