Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums Help & Support Show News From ALL Categories EXCEPT
Salem874
Posted on 05 Nov 2010, 12:56:40

Access: Member
Total Posts: 4
Joined: 2010-11-05

Hi

I'm running N-13 News 3.7 (yet to upgrade to 4.0 and would like to know how to automatically include/embed from news ALL categories apart from those i specify into my site.

The $cat[] option is to see the categories to only include. Bascially, i want the opposite, categories to expclude. This makes things much easier if there's say only one/two (ok...a few) categories you DONT want to be included.

I hope this is already possible or can be added with a quick patch? I really need it for a number of my sites.
#3013
Chris
Posted on 05 Nov 2010, 16:16:17

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

I've added this to the list of things to be added to version 4.1

http://code.google.com/p/n-13news/issues/detail?id=138

In the meantime however I've made a code sample that you can use that achieves the same thing, have a look here

http://code.google.com/p/n-13news/wiki/CodeSamples#Show_articles_that_are_NOT_assigned_to_specified_categories
#3014
Salem874
Posted on 07 Nov 2010, 18:47:50

Access: Member
Total Posts: 4
Joined: 2010-11-05

Thanks for that

It seems to be working, the only problem is it also ignores posts with no category.

I'd ideally like to have EVERYTHING apart from categories specified by the $nocat variable, including posts with no category.

Thanks for adding this to the 4.1 to-do list. I don't mean to rush buy is there any idea of an ETA?
#3019
Network-13.com © 2013