Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-07-09 09:40:00

Ji31
Member
Registered: 2005-08-24
Posts: 103

The list of articles in the one category by category list? (solved)

Ok, I have readed this forum section but I didn’t find what do I need.

I have in my sidebar this:

<code> <ul>
<txp:category_list break=“li” />
</ul>
</code>

And what do I want is, that if I click on the one category, I get the list of articles contained in that category.

Is it possible?

I didn’t find any plugin to make this :( so how do I make it manually?

My url format of this categorylist’s link is /category/name_of_the_category

What section should I make? “Category” or “name_of_the_category” or what? I really don’t know how to make it manually, but pluig would be better..

Thanx a lot.

Last edited by Ji31 (2006-07-10 09:05:33)

Offline

#2 2006-07-09 12:23:57

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

Re: The list of articles in the one category by category list? (solved)

Ji31 wrote:

And what do I want is, that if I click on the one category, I get the list of articles contained in that category.

That’s exactly what <txp:category_list /> does :) You don’t need to create a separate section for this, category lists use the default page (the home page). As long as you have a <txp:article /> tag on your default page template, the category lists will be displayed.

Offline

#3 2006-07-10 07:27:00

Ji31
Member
Registered: 2005-08-24
Posts: 103

Re: The list of articles in the one category by category list? (solved)

Oh yes – so I’m stupid. I’m sorry, it’s working now!

Thank you very

Offline

Board footer

Powered by FluxBB