<cfset oTree = CreateObject("component","#application.packagepath#.farcry.tree")>
<cfif isdefined("attributes.navid")>
<cfset ans = oTree.getAncestors(objectid="#attributes.navid#", nlevel="2")>
<cfelse>
<cfset ans = oTree.getAncestors (objectid="#request.navid#", nlevel="2")>
</cfif>
then changing the cfmodule so that the sectionObjectID attribute gets set to ans.objectid.<cfif isdefined("attributes.navid")>
<cfset ans = oTree.getAncestors(objectid="#attributes.navid#", nlevel="2")>
<cfelse>
<cfset ans = oTree.getAncestors (objectid="#request.navid#", nlevel="2")>
</cfif>
Blair
On 10/27/06, Zocoloco Studios <[EMAIL PROTECTED]
> wrote:
First, I want to say that I have almost completed my first site in
FarCry and am very excited about it. It's a wonderful CMS!
I am having a problem though with the sub navigation. For example,
the following structure:
Home
Events
Membership
- Benefits
- Join
When I navigate to the sub navigation system, the primary navigation
no longer registers the 'active' tag. If you look at the source code,
the primary active tag does not display as class 'active'.
Here is a link to the site. http://www.nmaug.com/ If you click on
membership, you will see what I am talking about. The primary level
tab appears correctly, but then when you click in the subnav on the
left panel, the primary tab is no longer active.
Any suggestions?
thanks,
elaine
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/farcry-dev
-~----------~----~----~----~------~----~------~--~---
