Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
best method for making articles related.
There are numerous ways for making articles relate to one another.
currently I am using Wilshire’s rss_unlimited_categories to output categories that help users search through related articles.
However, I’d like to add a second type of definition for searching and I am trying to figure out if I should use keywords or custom_fields or if I have missed something and there is a way to do this with Wilshire’s plugin?
Articles now are categorized by topic: culture, friendship, power, etc.
I would like to have a separate list of books that the articles are based off of: ie: Matthew, Mark, Luke, John… etc.
I want to keep these lists separate.
I had in mind, throwing the book that the article is based on into a custom field, and then outputting those articles in a list restricted to articles that have that custom field.
Are there better ways?
Ideas?
Thanks,
Matthew
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
Re: best method for making articles related.
Have you tried chh_related_articles?
Offline
Re: best method for making articles related.
- dogs (2)
Thanks for the thought though:
Here’s how I’m using it:
the page:
<code>
<txp:if_category>
<txp:rss_unlimited_categories_article_list section=“sermons” form=“sermon-list” />
<txp:else />
<txp:if_individual_article>
<txp:article_custom section=“sermons” status=“live” form=“sermons” limit=“1” />
<txp:else />
<txp:chh_if_keywords>
<txp:chh_keywords_articles form=“sermon-list” section=“sermons” />
<txp:else />
<txp:article_custom section=“sermons” limit=“1” status=“sticky” />
<txp:article_custom section=“sermons” limit=“10” pageby=“10” form=“sermon-list” status=“live” />
</txp:chh_if_keywords>
</txp:if_individual_article>
</txp:if_category>
</code>
in the article forms
<code>
<ul class=“tagged-bible”>
<txp:chh_keywords_list field=“bible-book” section=“sermons” break=“li” />
</ul>
</code>
Last edited by ma_smith (2006-10-03 15:32:38)
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline