Page 1 of 1

[Solved] Child category in news page

Posted: Fri Mar 01, 2013 5:56 am
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.

Re: Child category in news page

Posted: Fri Mar 01, 2013 5:13 pm
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*"

Re: Child category in news page

Posted: Sun Mar 03, 2013 3:17 am
by luya
From the test, using category=" *child" will display the news under that child depending of the related parent. Thank you.