Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2010-07-19 00:18:36
- janvi
- Member
- From: Norway
- Registered: 2009-05-28
- Posts: 41
Exclude articles with keywords
Good evening.
I’ve a little issue going on. I kind of need to sort articles in my frontpages articlelist by keywords. I’ll give an example.
<txp:article_custom section="articles,section-1,section-2,blog" status="live" limit="10"/>
In the blog section, I need to exclude articles containing internal (keyword), as they appear in another “row” on the mainpage.
Any suggestions? I’m kinda stuck here ..
Imagine a world in which every single person on the planet is given free access to the sum of all human knowledge.
The Future is Open – GNU/Linux
Offline
#2 2010-07-19 00:40:24
- rsilletti
- Moderator
- From: Spokane WA
- Registered: 2004-04-28
- Posts: 707
Re: Exclude articles with keywords
if_keywords as a native tag will accept a “keywords” attribute as a comma delimited list in the standard TXP conditional form. If you need more complex or finer control than it will give you, I have a plugin that makes a variety of choices available @ ras_if_article_keywords . This option is only available inside an article form.
note: Textbook description appears to be inaccurate with this tag.
Last edited by rsilletti (2010-07-19 00:41:22)
Offline
#3 2010-07-19 06:52:03
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Exclude articles with keywords
rsilletti wrote:
Textbook description appears to be inaccurate with this tag.
Corrected. Thanks, Rick!
Offline
Pages: 1