1 (edited by 2013-04-28 23:27:56)

Topic: Exclude categogy hack ?

Can we have a hack to exclude a particular category, much like at present categories can be included in show news by:

$category = "2";

Where someone has many categories, say 60, but does not want to show one or two categories, the only way to do this would be to include the code:

$category = "2,3,4";

etc for the whole category list barring those not wanted to be shown.

It would be much simpler to effect this with code such as

$nocategory = "2";

whereby all categories would be shown except for, in this case, category 2.

Is this possible?

Thanks!

Re: Exclude categogy hack ?

Basically, I add a hack in the function, like so: ... Someone else offered the following sample of how they excluded categories from a search, but I don't know how ...