plainblack.com
Username Password
search
Bookmark and Share

    

Global Nav without Home Link

User topsub
Date 10/29/2007 2:42 pm
Views 1230
Rating 17    Rate [
|
]
Previous · Next
User Message
topsub
I am trying to set up a Navigation element that excludes the "Home" link Right now i have it set up for  "Specific URL"  with the start point "/home" including  descendants. But the home link still shows and i can't figure out why. Any Ideas or suggestions?

--- (Edited on 10/29/2007 2:42 pm [GMT-0500] by topsub) ---



Back to Top
Rate [
|
]
 
 
colink

I am trying to set up a Navigation element that excludes the "Home" link [...] Any Ideas or suggestions?

Depending on how your site is structured, try using the page.isBranchRoot or page.isTopOfBranch templates variable to exlude it, along with a tmpl_unless statement. You'll need to create a custom Navigation template to do this.

<tmpl_loop page_loop> 

<tmpl_unless page.isTopOfBranch>

    page display code goes here 

</tmpl_unless>

</tmpl_loop> 

--- (Edited on 10/29/2007 3:00 pm [GMT-0500] by colink) ---



Back to Top
Rate [
|
]
 
 
martink
I checked out the demo link you gave me and it seems that your Unordered List template is the problem. If you for instance set the template to the verticalMenu template the correct pages are shown, and not the home page. Dunno what's wrong exactly with the Unordered List. No time to check that out. But that's where you should look.

--- (Edited on 2007-10-29 22:23 [GMT+0100] by martink) ---



Back to Top
Rate [
|
]
 
 
topsub

Ah, Intresting, I will check out the template to see what the problem is. Thanks for helping look at this problem

 

 

--- (Edited on 10/30/2007 8:51 am [GMT-0500] by topsub) ---



Back to Top
Rate [
|
]
 
 
    



© 2010 Plain Black Corporation | All Rights Reserved