[Solved] Child category in news page

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
luya
Forum Members
Forum Members
Posts: 91
Joined: Wed Jan 23, 2013 1:34 am

[Solved] Child category in news page

Post by luya »

I implement this extension

Code: Select all

{news category="foo | bar" detailpage="news"}
but the page "news" does not display the child category "bar". What will be the correct use?

Thank you in advance.
Last edited by luya on Sun Mar 03, 2013 3:18 am, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Child category in news page

Post by Dr.CSS »

From the News Help...

(optional) category="category" - Used in the summary view to display only items for the specified categories. Use * after the name to show children. Multiple categories can be used if separated with a comma. Leaving empty, will show all categories. This parameter also works for the frontend submit action, however only a single category name is supported.

category="parent*"
luya
Forum Members
Forum Members
Posts: 91
Joined: Wed Jan 23, 2013 1:34 am

Re: Child category in news page

Post by luya »

From the test, using category=" *child" will display the news under that child depending of the related parent. Thank you.
Post Reply

Return to “CMSMS Core”