Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2008-05-13 12:27:41
- beechy
- Member
- Registered: 2006-03-02
- Posts: 92
Related articles via keywords - best plugin
This subject seems to of been covered in depth on this forum – however I would like some further advice. The plugins that I have seen to solve this problem appear to have some bugs does any one know of a stable plugin or ideally a way of achiving this without a plugin.
I would like to display a list of related articles, I want the related articles to be displayed when any of the articles keywords match only.
Offline
#2 2008-05-13 12:54:22
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: Related articles via keywords - best plugin
? See “attributes”
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: Related articles via keywords - best plugin
uli is right and if you need some more control have a look at chh_related_articles which i’m using all the time without any problems.
Offline
#4 2008-05-13 14:51:54
- beechy
- Member
- Registered: 2006-03-02
- Posts: 92
Re: Related articles via keywords - best plugin
many thanks for the quick reply uli
using <txp:article_custom/> would work for me if I could use something like
<txp:article_custom keywords=”<txp:keywords />” section=“blog” /> but it doesn’t seem to allow me to use <txp:keywords />
I will have a look at chh_related_articles for the moment
Last edited by beechy (2008-05-13 14:52:37)
Offline
#5 2008-05-13 15:05:27
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: Related articles via keywords - best plugin
beechy wrote:
<txp:article_custom keywords=”<txp:keywords />” section=“blog” /> but it doesn’t seem to allow me to use <txp:keywords />
You can use asy_wondertag plugin (tags in tags) this way:
<txp:asy_wondertag>
<txp:article_custom keywords=”<txp:keywords />” section=“blog” />
</txp:asy_wondertag>
Offline
Re: Related articles via keywords - best plugin
^^ in that case the keywords as supplied by the <txp:keywords /> tag are all required for articles to appear in the list. If just one or two keywords are specified, that probably works fine, but if the list of keywords is long, chances are that article_custom returns an empty list.
Offline
#7 2008-05-13 16:33:15
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: Related articles via keywords - best plugin
ruud wrote:
^^ in that case the keywords as supplied by the <txp:keywords /> tag are all required for articles to appear in the list. If just one or two keywords are specified, that probably works fine, but if the list of keywords is long, chances are that article_custom returns an empty list.
Yes, ruud is totally right, I didn’t read the whole thread and answered only to that question.
Probably, in this cases, chh_related_articles is the way to go
Offline
#8 2008-05-13 17:09:21
- rsilletti
- Moderator
- From: Spokane WA
- Registered: 2004-04-28
- Posts: 707
Re: Related articles via keywords - best plugin
You might try this. ras_if_article_keywords
I resisted making this plugin too available because even with the help file it’s confusing to try to use. It is a conditional that looks at a variety of keyword matching options set by attribute, sounds like it may be what you need.
Offline
#9 2008-05-14 00:05:47
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: Related articles via keywords - best plugin
I’m quite often at your site, Rick, but never saw this one! Nice discovery!
chh_related_articles needs to be changed twice in order to run. Haven’t tested it yet on 4.0.6.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Offline
#11 2008-05-14 09:40:26
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: Related articles via keywords - best plugin
Strange, truly! Might depend on the attributes used.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline