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, ...Add Non-page menu item to DDR menuAdd Non-page menu item to DDR menu
Previous
 
Next
New Post
9/22/2011 7:00 PM
 
Is it possible to add a custom menu item to the DDR Menu not related to a page in the portal.  Need to have a menu item with subs items that links to cross portal pages.

Thanks, 
Jeff
 
New Post
9/22/2011 9:07 PM
 
Hi, On the Advanced Settings for Adding New Page under Other Settings you can set it to an external URL.

Philip Beadle - Employee
 
New Post
9/23/2011 2:40 AM
 
You can use philip's suggestion but you can also just do it in the xsl

lets say you are using the superfish tempalte from ddrmenu templates  then what you need to do is delete the firs ul  /ul from the tmpalte and put the call in the skin as follows

<ul><ddr:MENU  runat="server" MenuStyle="superfish" /></ul>

and then modify the xsl to change this

<ul class="sf-menu" id="{$ControlID}">
    <xsl:apply-templates select="node" />
</ul>

to this as you can see you can create whole structures

         
            <xsl:apply-templates select="node" />
        <li><a href="#">Your link here</a></li>
<li><a href="#">Your link here</a></li>
<li><a href="#">Your link here</a></li>
<li>
<a href="#ab">menu item</a>
<ul>
<li class="current"><a href="#">menu item</a></li>
<li><a href="#aba">menu item</a></li>
<li><a href="#abb">menu item</a></li>
<li><a href="#abc">menu item</a></li>
<li><a href="#abd">menu item</a></li>
</ul>
</li>


 
New Post
9/23/2011 1:53 PM
 
Thank Phillip, this was the method I was considering, however my needs are on a much larger scale than practical using this method.

-Jeff
 
New Post
9/23/2011 2:01 PM
 
Another option is to use the nodemanipulator option

http://www.dotnetnuke.com/Resources/W...

I never tried this myself but if you want to programmatically add items and have thme implemented in the menu than this is the way to go
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Add Non-page menu item to DDR menuAdd Non-page menu item to 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