Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-07-30 22:56:00

Logolocos
New Member
Registered: 2012-07-30
Posts: 4

Other section than default for images category list?

<txp:category_list break="li" wraptag="ul" type="image" />
nicely generates a list of category links with paths like category/image/category-name/. This always links to the default section/page, apparently.
But because the tag is used in another section/page, I want to output the category images within this section/page.
Can this be done (without using plugins)?

I’m a Textpattern newbie, so far loving it.

Offline

#2 2012-07-31 06:08:40

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,172
Website GitHub Mastodon Twitter

Re: Other section than default for images category list?

Did you try <txp:category_list break="li" wraptag="ul" type="image" section='<txp:section>'/> ?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2012-07-31 09:42:49

Logolocos
New Member
Registered: 2012-07-30
Posts: 4

Re: Other section than default for images category list?

Haha, even after searching for hours and hours I didn’t find I could try that, and your suggestion solved it!
Thanks very much colak!

Offline

#4 2012-08-01 12:06:25

totoff
Member
From: Cologne, Germany
Registered: 2011-04-04
Posts: 145
Website

Re: Other section than default for images category list?

just for the records: the attribute this_section="1" should do the same job.

Offline

Board footer

Powered by FluxBB