GetSimple Support Forum
List sub-page in one page ? - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: List sub-page in one page ? (/showthread.php?tid=1272)



List sub-page in one page ? - gimx - 2011-01-31

Hello,

Imagine I create a page "Team" to list all team members. I create one subpage per member. How can I display/list all links subpages members in the page "Team" ?

Thank you Smile


List sub-page in one page ? - gimx - 2011-02-01

Nobody know how we can list all subpages title/links in the parent page ? Sad


List sub-page in one page ? - JWH_Matthew - 2011-02-01

You may try this plugin: http://get-simple.info/forum/topic/991/child-menu-plugin/ this should provide the links but will not give a short description or anything like that.. If it doesn't work, you could manually do it or write a quick program that does what you need.

Hope that helps!


List sub-page in one page ? - gimx - 2011-02-01

Thank you, it's a good idea, i try Smile


List sub-page in one page ? - mvlcek - 2011-02-01

This should also be possible with the I18N plugin (http://get-simple.info/extend/plugin/i18n/69/)

Code:
<?php get_i18n_navigation(return_page_slug(),1,1); ?>

In either case (I18N or child-menu or own code) you might want to put the relevant code in a component "team" and use the DynPages plugin (http://get-simple.info/extend/plugin/dynpages/81/) to include the component in the page - this way you can have additional information before and after the team member links, e.g.

Code:
<p>Our team members are:</p>
<p>{% team %}</p>
<p>Our next match will be on ...</p>



List sub-page in one page ? - gimx - 2011-02-02

Thank you guys Smile

I've tried two plugins and both are great... Now I must choose one :-)