Register   Login
     
  Latest Posts  
RE: Error #2038 on image upload
by mao on 3/16/2010 2:50 PM
RE: WAT and Anonymous User
by ray-isc on 3/16/2010 2:32 PM
RE: Introducing the most powerful News Slider for Ventrian News Articles
by ray-isc on 3/16/2010 2:07 PM
RE: Is there a way to add image, based on x of DATE
by ray-isc on 3/16/2010 1:58 PM
RE: Where is the NA Latest Article Module setting stored?
by ray-isc on 3/16/2010 1:27 PM
RE: Where is the NA Latest Article Module setting stored?
by ray-isc on 3/16/2010 1:24 PM
RE: Comments - make approved before showing?
by odove on 3/16/2010 9:34 AM
WAT and Anonymous User
by rheingold on 3/16/2010 8:11 AM
RE: SubType edit?
by IMISOFT on 3/16/2010 7:49 AM
RE: Latest Properties Sorting Issue
by jump on 3/16/2010 7:47 AM
  Forums  
Subject: Recursive Links
Prev Next
You are not authorized to post a reply.

Author Messages
waynephUser is Offline
Gold Membership
Ventrian Super Newbie
Ventrian Super Newbie
Posts:12

5/18/2009 10:27 AM  

Is there a way to recusively display all of the children, grandchildren, etc... of a page?  On my site I'm using a Structure like this...

Home
Section 1
Section 2
--Topic 1
--Topic 2
----SubTopic 1
----SubTopic 2
--Topic 3
Section 3
...

On each of the "Section" pages, I don't really have any specific content that I want to show up, but I'm leaving the pages clickable for people that don't use JavaScript Menus.  On those pages, I just have a single Child Links control and currently it's only able to display the "Topic" level.  I'd like to be able to recurse all the way down.

Scott McCullochUser is Online
Administrators
Ventrian Master
Ventrian Master
Posts:17182


5/20/2009 7:04 AM  
So if I'm on the Section 2 page, you want the following to be displayed:-

--Topic 1
--Topic 2
----SubTopic 1
----SubTopic 2
--Topic 3

?

Scott McCulloch
Site Administrator
waynephUser is Offline
Gold Membership
Ventrian Super Newbie
Ventrian Super Newbie
Posts:12

5/20/2009 7:27 AM  
That's correct.

I didn't know if there was (or could be) something like a [SubPages] template item that would allow it to recurse. It would also give each user pretty much full control over how it looks. If you wanted to change styles in the lower levels you could either nest the CSS to get more specific, or add a second counter template item like [PageDepth] that could be included as part of the Class Name in the HTML.
Scott McCullochUser is Online
Administrators
Ventrian Master
Ventrian Master
Posts:17182


5/20/2009 7:30 AM  
Yes, I think the correct method to implement would be a page depth token.

Scott McCulloch
Site Administrator
Steve J.User is Offline
Gold Membership
Ventrian Wiz
Ventrian Wiz
Posts:139

12/18/2009 6:58 AM  
Was this ever implemented?

Thanks,
Steve
Scott McCullochUser is Online
Administrators
Ventrian Master
Ventrian Master
Posts:17182


12/21/2009 5:36 AM  
Not yet - it isn't in the current module.

Scott McCulloch
Site Administrator
You are not authorized to post a reply.
Forums > Modules > Child Links > Recursive Links



ActiveForums 3.7