Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
txp:related_articles using an article form
txp:related_articles using an article form
This seems like a relatively simple thing to accomplish and I’m not sure why it isn’t integrated already.
All I want to do is the following:
When viewing an individual article in a section of shirts with a category of red I would like to output a list of all articles with the category red in the section of shirts on the sidebar or any other area I choose.
The ability to use an article form to output thumbnails or images is key.
Last edited by mattmikulla (2007-09-13 20:02:49)
Art Rogue – Fine Art Photography
Offline
Re: txp:related_articles using an article form
Hi mattmikulla,
read this FAQ: http://textpattern.com/faq/26/change-the-output-of-txp:Arecent_articles
Last edited by maniqui (2007-09-13 20:18:50)
Offline
Re: txp:related_articles using an article form
I want to change the output of txp:related_articles, not recent.
Art Rogue – Fine Art Photography
Offline
Re: txp:related_articles using an article form
By using asy_wondertag :
<txp:asy_wondertag><txp:article_custom limit="10" category="<txp:category />" section="shirts" form="related-list" /></txp:asy_wondertag>
Offline
Re: txp:related_articles using an article form
mattmikulla wrote:
I want to change the output of txp:related_articles, not recent.
Ops! Sorry!
Offline
Re: txp:related_articles using an article form
Although asy_wondertag is a plugin your example worked. I changed the category tag to category1 to target better. Awesome!
<txp:asy_wondertag><txp:article_custom limit="10" category="<txp:category1 />" section="gallery" form="article_thumbs" />
Art Rogue – Fine Art Photography
Offline