As I hit send on this email I went over in my head what I was typing about traversing the tree - and that ended up being the problem. I was using the con_subnavigation container in the Nav code, but I was not referencing it from the article template of the parent. So CMS was not able to traverse to the nav pages below. Simply adding a con_subnavigation placeholder in the article template in comments did the trick.
Thanks for the help, rw Robert Williams Director of Web Development InfoComm International www.infocomm.org NOTE: Privileged/confidential information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should delete and disregard this message and kindly notify the sender by reply email. All opinions, conclusions and other information expressed in this message not of an official nature shall not be deemed as given or endorsed by InfoComm International, Inc. or any of its subsidiaries unless otherwise indicated by an authorized representative independent of this message. -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Williams - InfoComm Sent: September 23, 2008 11:44 AM To: [email protected] Subject: RE: isActive and isCurrent Thanks Wayne. I already have it (and the 2 functions) in my foundation template. What is interesting is that it does seem to find the parent page for the first level of pages after I defined the site map link for them, for example pages on a list off of the foundation document that make my first tier of nav. What is frustrating is any pages below that first tier don't return any parent pages. I am guessing it is something like problems I have had in publishing where pages werent being published because it couldn't traverse the tree properly to them for whatever reason. Always a tricky one to debug. rw Robert Williams Director of Web Development InfoComm International www.infocomm.org NOTE: Privileged/confidential information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should delete and disregard this message and kindly notify the sender by reply email. All opinions, conclusions and other information expressed in this message not of an official nature shall not be deemed as given or endorsed by InfoComm International, Inc. or any of its subsidiaries unless otherwise indicated by an authorized representative independent of this message. -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Wayne Bouwmeester Sent: September 23, 2008 11:32 AM To: RedDot CMS Users Subject: Re: isActive and isCurrent I just implemented it on a 7.1 site. Had trouble as well - nothing was showing in the ParentPages variable, so I moved the code for the BC to the foundation template - i.e. out of the isActive isCurrent template as suggested in the RedDot best practices doc. Seemed to work for me after that. (didn't really make sense to me to have it in the IsActiveIsCurrent template but I guess it depends on how you link things up. Wayne. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "RedDot CMS Users" 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/RedDot-CMS-Users?hl=en -~----------~----~----~----~------~----~------~--~---
