1832 Posts in 984 Topics by 553 members
|Go to End|
7 September 2010 at 1:04am Last edited: 7 September 2010 3:06am
I would like to include a short list of latest siblings to a current blog entry in sidebar navigation.
When on the entry page there is no access to BlogEntries and I can't figure out how to reach the siblings information... I'd need the navigation text and link at the very least.
Clearly the entry itself has no children, so the Children controller won't work. I've tried using ChildrenOf, but am either not sending the appropriate info, or it's not the solution either.
Thought about extending the class as the likely solution, but my understanding of OOP at this point is insufficient without some guidance.
If there are five articles in a BlogHolder and I'm on the entry page for one of them, then I'd want to list all five, with the current one inactive and highlighted, and the other four as active links. That side of it I can handle, but I'm not clear on how to obtain the list of siblings as data on which to then work.
Thanks for any pointers.
7 September 2010 at 3:05am
Talk about overlooking the obvious! Helps to have ShowInMenus enabled... all works then!
|Go to Top|