Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-01-12 21:59:37

mattmikulla
Member
From: Nashville Tennessee
Registered: 2004-08-25
Posts: 281
Website

Replacing rss_suparchive_bycat with txp core tags

Ok. Currently I have a thumbnail gallery set up using rss_suparchive_bycat working fine, but I want to replace it with txp core tags.

Currently:
<code>
<div id=“thumb_container”>
<txp:rss_suparchive_bycat section=“photography” useartcat1=“1” showcats=”“ showcatcount=“0” formwraptag=“ul” form=“article_thumbs” />
</div>
</code>

Going from the post by Jeremie here it tried this:
<code>
<div id=“thumb_container”>
<ul>
<txp:article_custom form=“article_thumbs” limit=“9999” section=“photography” sortby=“Category1,Title” sortdir=“asc” />
</ul>
</div>
</code>

However, I can’t get the thumbnails to display only thumbnails in the same category as the current article. It is displaying all the thumbnails in the section.

Any ideas?


Art Rogue – Fine Art Photography

Offline

#2 2006-01-12 22:36:38

alexandra
Member
From: Cologne, Germany
Registered: 2004-04-02
Posts: 1,370

Re: Replacing rss_suparchive_bycat with txp core tags

I guess you have to filter by category as well category="category name"

Offline

#3 2006-01-13 19:55:41

mattmikulla
Member
From: Nashville Tennessee
Registered: 2004-08-25
Posts: 281
Website

Re: Replacing rss_suparchive_bycat with txp core tags

Well, I do want to filter by category, but I want to only display the thumbnails/articles that are in the same category of the current article being displayed.

The thumbnails show up on a side bar while the main article is in the main column. I have been using txp:if_individual_article conditional tags to help facilitate my needs.


Art Rogue – Fine Art Photography

Offline

Board footer

Powered by FluxBB