news category how can i exclude one category

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
User avatar
angelapierri
Forum Members
Forum Members
Posts: 33
Joined: Mon Aug 07, 2006 12:11 pm

news category how can i exclude one category

Post 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
Last edited by angelapierri on Fri Aug 18, 2006 2:37 pm, edited 1 time in total.
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: news category how can i exclude one category

Post 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.
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. :)
User avatar
angelapierri
Forum Members
Forum Members
Posts: 33
Joined: Mon Aug 07, 2006 12:11 pm

Re: news category how can i exclude one category

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

Return to “CMSMS Core”