1 (edited by 2012-02-17 14:34:00)

Topic: [HELP] SHOW NEWS WITH OWN FILTER

Edit: I would like to filter my news with something working like the categories; like that:

$category = "1,2,3,4,5"

id | title | full story | additionnal data

But with the field I have chosen. It can be the title, or an additionnal data, and the result will be in the include code like that:

$additionnal_data = "derpderp, herpderp, blabla"

How can I do that ? And how can I do that with more than one criteria ? Thank youu !

2 (edited by 2011-12-31 01:31:37)

Re: [HELP] SHOW NEWS WITH OWN FILTER

A little up to keep the topic on top ;_;

Re: [HELP] SHOW NEWS WITH OWN FILTER

Little up ~ !

Re: [HELP] SHOW NEWS WITH OWN FILTER

Little up ~ !

5 (edited by 2012-02-17 13:18:25)

Re: [HELP] SHOW NEWS WITH OWN FILTER

Thanks for your help but these hacks allow to sort by a criteria,it shows all the news; I will give a clearer explanation:

In news.txt, when you save an article, you save several data:

id | title | category | fullstory | fields you could have added | etc

I would like to show articles with a specific criteria by adding it in the cutenews include code. Exactly like the categories like that:

$category ="1,4,5"

But with other data. Example:

$title = "My favorite items"

Or an additionnal data (by the way, the code is the same):

$mydata= "derpderp"


Re: [HELP] SHOW NEWS WITH OWN FILTER

Doesn't anybody know how to ? ;_; There was a post about that on this forum until it was deleted because au the spam. >.<

Re: [HELP] SHOW NEWS WITH OWN FILTER

Do you remember the name of this hack ?

Was it xfields hack ?
http://cvdtak.home.xs4all.nl/xfields_v2.1.htm
https://cutephp.com/cutenews/addons/xfields.zip

You could search from archive too:
http://web.archive.org/web/20070209063134/...dex.php?act=idx