|
Hi Mark,
The secondaryNav actually delves one node level in from the current object, so if you’re at the end of a branch (aren’t we all) there’s no child nodes, and hence nothing to display.
Take a look at this (except from _secondaryNav.cfm): qNavSec = application.factory.oTree.getDescendants(objectid=request.navID, depth=1, afilter=navFilter);
You need to replace request.navID with whatever criteria fits your needs (I’d suggest making a separate include to avoid confusion).
Check out the getAncestors, getParentID and other tree functions in CFDoc:
I found that helped me build a proper branch-sensitive secondary (sub)nav system.
Chris From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of M Wheeler
Hi
Still can't seem to get the side secondarynavigation working in my include pages, any assistance would be greatly appreciated.
Regards Mark W On 10/6/05, M Wheeler <[EMAIL PROTECTED]> wrote: Hi
I have some include pages under a main navigation node as below
Home (navigation)
using the standard _secondaryNav.cfm I have displayed the members 1 and members 2 object as navigation links on the secondary menu, and this works fine when you visit the members page, but when you visit one of the include objects the secondary navigation disapears I have looked at the template for the include objects but they include the footer page which is where the secondaryNav page is referenced, am a little unsure why the second nave disapears when using one of the include objects
Thanks Mark
You are currently subscribed to farcry-dev as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/ |
- [farcry-dev] Re: _secondaryNav.cfm on include pages M Wheeler
- [farcry-dev] Re: _secondaryNav.cfm on include pages Chris Bauer
- [farcry-dev] Re: _secondaryNav.cfm on include pages M Wheeler
