show sub-contents?

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.
Locked
sinkpoint

show sub-contents?

Post by sinkpoint »

Hi, I've trying to migrate my site onto CMSMS, and ran into a little hiccup.

I'm sure the solution should be obvious, but I searched through the docs and forums up and down, and couldn't find the answer.

How do you display a list of sub-contents/child content items on the content page?
What I mean is a feature similar to the List Style or Blog Style menu item feature in Joomla, which shows a section/category's items in as a list of titles, or a list of text items.

I know that you can display the items on the menu. That's not what I want.

For example:

----- start page -------

Title

Description text...




------ end page ------


So far I've reached the conclusion that there is no such feature, and I would need to write my own code for this.
However I'm hoping that I'm wrong, since it seems to be such an essential feature.

Thanks.
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: show sub-contents?

Post by tsw »

you can call menumanager from page content also and if you set it to show all items below current item I think you get what you want.

subpages content is trickier as it is not read from db at that point. you could write a small udt which gets the content from db when given page id as parameter.

hope this helps
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: show sub-contents?

Post by Elijah Lofgren »

This sounds almost like this: http://wiki.cmsmadesimple.org/index.php ... t_children

But that was using descriptions not content.

You may also be interested in my PageBlocks module.

Gotta run,

Elijah
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
sinkpoint

Re: show sub-contents?

Post by sinkpoint »

Thanks Elijah, I think the list_children example is sufficient for my purpose.

May I propose that this feature be considered for future releases? It's a very essential feature of a CMS.
At the very least, if there can be some easy way to access menu item content the same way the description can be accessed, then this can be easily implemented with the existing method.

Thanks again for the prompt response.
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: show sub-contents?

Post by Elijah Lofgren »

sinkpoint wrote: Thanks Elijah, I think the list_children example is sufficient for my purpose.
Ok, cool.
sinkpoint wrote: May I propose that this feature be considered for future releases? It's a very essential feature of a CMS.
At the very least, if there can be some easy way to access menu item content the same way the description can be accessed, then this can be easily implemented with the existing method.
I'd appreciate it if you would Submit a new feature request here: http://dev.cmsmadesimple.org/tracker/?a ... unc=browse
CMSMS 1.1 (or 2.0) is currently under development and it would be cool if this feature made it in.

sinkpoint wrote: Thanks again for the prompt response.
You're welcome
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
Locked

Return to “CMSMS Core”