Page 1 of 1
news category how can i exclude one category
Posted: Fri Aug 18, 2006 2:33 pm
by angelapierri
is it possible to exclude only a category from the news?
example
for all category (and subcategory) i writed in content area
{cms_module module='news' detailpage='dettaglio' number='20' category='*' moretext='leggi tutto'}
i do not want to show the category 'altro' (and subcategory) because there is a lot of stuff not all people are interested in
help
and thanks
Re: news category how can i exclude one category
Posted: Sat Aug 19, 2006 3:38 am
by Elijah Lofgren
angelapierri wrote:
is it possible to exclude only a category from the news?
example
for all category (and subcategory) i writed in content area
{cms_module module='news' detailpage='dettaglio' number='20' category='*' moretext='leggi tutto'}
i do not want to show the category 'altro' (and subcategory) because there is a lot of stuff not all people are interested in
help
and thanks
From: /admin/listmodules.php?action=showmodulehelp&module=News
(optional) category="category" - Only display items for that category. Use * after the name to show children. Multiple categories can be used if separated with a comma. Leaving empty, will show all categories.
So try calling it like this:
Code: Select all
{cms_module module='news' detailpage='dettaglio' number='20' category='cat1*,cat2*,another_category*' moretext='leggi tutto'}
It should work if you just leave "altro" out of the list of categories.
Re: news category how can i exclude one category
Posted: Tue Aug 22, 2006 7:27 am
by angelapierri
thanks !!
pity i've a lor of categories always increasing (over 100)
I thought it was possible to create a personal tag
angela