Page 1 of 1

Newbie question - Listing of child items

Posted: Fri Apr 14, 2006 4:14 am
by timh
Hi, I have just started to try CMS in anger - v cool!

One item I have not been able to find is a means to provide a listing of child / sub pages for a given page. Ideally the list would include the title, description and provide for a hyperlink to the page.

This would be like the bullet menu tag but would allow me to select fields and manage presentation via css.

Eg A page for classical music would look something like:

Classical collection (page title)
This section of the site contains .... (page content)

- Bach. Bach was the author of... [more]          (Sub page 1)
- Mozart. During his lifetime, Mozart... [more]    (Sub page 2)
- etc                                                            (Sub page(s))

I have spent some time looking but not found anything as yet... help!

Thx

Re: Newbie question - Listing of child items

Posted: Sat Apr 15, 2006 5:26 am
by Ted
The infamous landing page...

We really don't have an automated way to do this, ATM.  Your best bet would be to use {sitemap start_element='1.2' number_of_levels='1'} (with start_element being that particular page).  You could also do the same with menu manager's default template (or bulletmenu, if you're old school) and just throw it in a div that you can override and style.

Re: Newbie question - Listing of child items

Posted: Sat Apr 15, 2006 6:10 am
by timh
Thanks for the response; I had'nt considered that approach.

In the meantime I found the cataloger module which (almost) provides what I am looking for and also allows me custom attributes which is a real bonus. I do need to figure how to change it to return additional data though.

I will give it a try and see.

Yhx again.

Re: Newbie question - Listing of child items

Posted: Wed Apr 19, 2006 8:09 am
by timh
Thx for the response; I looked at sitemap but it does'nt, at first galnce, seem to allow any extra attributes to be presented... I am keen to display more than the page title.

Does anyone know whether there is a way to use Cataloger and return more than title, link and image in the array of child items?