Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
show "category1 and category2" or "category and NOT category 2"
I have tried rss_unlimited_categories, if_article, if_category and some others but untill far I have been not able to get what I want.
Ideally, and the reason for trying “rss_unlimited_categories”, is to have a list of categories from which I could make endless variations. For example I have these categories:
add
edit
remove
article
user
I like to show article with following categories assigned to them
add+user (any article with both “add”&“user”)
add+edit+remove+user (any article with “add““edit”“remove”+“user”)
remove+user -add (any article with “remove”+“user” but not “add”)
Does anybody has an idea how to accomplish this?
Many thanks :-)
Jeroen
Time to volunteer? Come and join us at a great project which is going to be opensource: https://www.caloom.com
Offline
Re: show "category1 and category2" or "category and NOT category 2"
Well, the truth is that Textpattern is very bad in boolean AND searches. Boolean OR is perfectly well but the architecture of Textpattern core doesn’t support multiple one level filters (eg category AND category).
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
Re: show "category1 and category2" or "category and NOT category 2"
thanks Markus, I might have to go back to my original strategy “add_article” add_user”, “edit_article” “edit_user” etc
Maybe someone has an idea. Perhaps tags could do it but if boolean queries are a bottleneck… :-)
Jeroen
Time to volunteer? Come and join us at a great project which is going to be opensource: https://www.caloom.com
Offline
Re: show "category1 and category2" or "category and NOT category 2"
I just read this plugin’s reference:
“ chh_article_custom tag attribute reference
and it seems to do category1 AND category2
~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~
Offline
Re: show "category1 and category2" or "category and NOT category 2"
thanks “kemie”, gonna check it out right away :-)
Time to volunteer? Come and join us at a great project which is going to be opensource: https://www.caloom.com
Offline
#6 2010-08-17 19:11:47
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: show "category1 and category2" or "category and NOT category 2"
You should be able to achieve all you want with smd_query
Offline