Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2009-02-03 23:35:06

jshan
Member
Registered: 2008-01-09
Posts: 67

Re: How to Insert a thumbnail image strip? (Galleria & smd_gallery)

Matt,

I’m testing following Jakob’s suggestion. As for outputting the list of articles based on categories, it’s yet to be implemented. But I took the note of rss_super_archive

Jakob, BTW, I think you actually meant to suggest <txp:article_custom /> (instead of <txp:article />)

Last edited by jshan (2009-02-03 23:37:28)

Offline

#14 2009-02-04 08:35:58

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,730
Website

Re: How to Insert a thumbnail image strip? (Galleria & smd_gallery)

jshan wrote:

Jakob, BTW, I think you actually meant to suggest <txp:article_custom /> (instead of <txp:article />)

Yes, I did. Thanks for the heads-up and corrected.

Regarding your other question, if you’re using txp:category_list to output your list of categories somewhere it has an attribute exclude="has-image" or you specify a certain combination of categories="mycat1,mycat2,mycat5" and leave out “has-images” (or whatever you have called it).

If for your archive listing you’re using txp:article_custom in combination with txp:if_different as in this faq article you can likewise use the attribute category="mycat1,mycat2,mycat5" to specify only certain categories to include and leave out “has-images” as above.
Another alternative is that you use txp:if_category in your form containing the if_different so that it skips things like the has-images title <txp:if_category name="has-images"><!-- do nothing here --><txp:else > ... rest of code ... </txp:if category>.

Last edited by jakob (2009-02-04 08:47:44)


TXP Builders – finely-crafted code, design and txp

Offline

#15 2009-03-03 05:38:09

jshan
Member
Registered: 2008-01-09
Posts: 67

Re: How to Insert a thumbnail image strip? (Galleria & smd_gallery)

jakob wrote:

Regarding your other question, if you’re using txp:category_list to output your list of categories somewhere it has an attribute exclude="has-image" or you specify a certain combination of categories="mycat1,mycat2,mycat5" and leave out “has-images” (or whatever you have called it).

Now I’m using unlimiated category plugin that allows an article to have more than 2 categories, is there a way to display all the categories under which that article is filed EXCEPT the category has_image ? So each individual article view, it’ll also display something like:

Filed under: Gardening, DIY, Summer

Thanks!

Last edited by jshan (2009-03-03 05:38:38)

Offline

Board footer

Powered by FluxBB