Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2007-01-13 13:52:14

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: How do I use txp:category_list

You’ll have to use the section attribute in your links to category pages, like this:

<txp:category link="1" section="..." />

or

<txp:category_list section="..." />

so the category pages will use the section’s page. Leaving this attribute out will always show the category lists on the default page.

Offline

#14 2007-01-15 06:53:56

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: How do I use txp:category_list

Or the this_section attribute, if you’re display the link on the section you want it directed to.

Offline

#15 2007-01-19 02:41:42

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

Re: How do I use txp:category_list

A little more help.

How to:

Category list on my Journal page that displays all articles within the section journal on the page and section of archive?


Art Rogue – Fine Art Photography

Offline

#16 2007-01-19 09:27:51

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: How do I use txp:category_list

Let me be sure I’ve got this straight: a link to your section “archive”, to display categories for the section “journal”? You will need a plugin for that, I believe, such as cbs_category_list.

Offline

Board footer

Powered by FluxBB