Newbie question - Listing of child items

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
timh
Forum Members
Forum Members
Posts: 15
Joined: Wed Apr 12, 2006 7:36 am

Newbie question - Listing of child items

Post 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
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Re: Newbie question - Listing of child items

Post 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.
timh
Forum Members
Forum Members
Posts: 15
Joined: Wed Apr 12, 2006 7:36 am

Re: Newbie question - Listing of child items

Post 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.
timh
Forum Members
Forum Members
Posts: 15
Joined: Wed Apr 12, 2006 7:36 am

Re: Newbie question - Listing of child items

Post 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?
Post Reply

Return to “CMSMS Core”