Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-02-17 01:21:03

WizardS
New Member
Registered: 2006-02-17
Posts: 6

Article List filtered by both category and section

Hi!

I have a problem that does not seem to be as trvial as I initially thought.

I want to display a list of all articles of a section’s category (so to say filter both section and category based on the active ones).

Is there a plugin to do so?

I did not find anything on the web or in the forum!

Tanks a lot!

Simon

Offline

#2 2006-02-17 01:35:04

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Article List filtered by both category and section

Your question is not clear at all.


Alex

Offline

#3 2006-02-17 01:36:00

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

Re: Article List filtered by both category and section

There is. Check the resources site (“Plugins and more”), “by category”, and the category “section/category”. Link above.

Last edited by Mary (2006-02-17 01:36:11)

Offline

#4 2006-02-17 09:07:11

WizardS
New Member
Registered: 2006-02-17
Posts: 6

Re: Article List filtered by both category and section

Hi,

Thanks for your answers.

Sorry if I did not make myself clear:
I use textpattern as a cms for static pages.
I have some sections as main navigation points like “section 1, section 2”
I then abuse categories to generate sub levels like “subsection 1_1 and subsection 1_2 or subsection 2_1 and Subsection 2_2”.
I now want to display a list of all articles that are in section x and in subsection x_y.
@mary: I just found plugins for displaying category lists of a certain section like cbs_category_list, but not article lists of both a specific category and section (the current ones).

Offline

#5 2006-02-17 10:04:38

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

Re: Article List filtered by both category and section

Specific category and section? Use a built-in tag: article_custom. Or am I still misunderstanding what you’re after?

Offline

#6 2006-02-17 16:22:58

WizardS
New Member
Registered: 2006-02-17
Posts: 6

Re: Article List filtered by both category and section

This is a quite good hint.

I was not aware of article_custom being able of doing this.

Thank you!

Nevertheless, is there a possibility to tell this tag to use current category and section or do you have to do this manually?

Offline

#7 2006-02-18 03:59:39

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

Re: Article List filtered by both category and section

Uh, current category and section would be what the article tag already does…

Offline

#8 2006-02-18 08:58:57

WizardS
New Member
Registered: 2006-02-17
Posts: 6

Re: Article List filtered by both category and section

I think you get me wrong from the beginning! Or I did not express myself clearly.

I do not want to get a list of article texts but a navigation style list with just the names of the articles (titles) as links, like the rdt_dynamenus article menu.
This one sure is great (but it cannot filter by categories, just by sections).

Thanks a lot nevertheless!

Simon

Offline

#9 2006-02-19 00:21:37

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

Re: Article List filtered by both category and section

You customize your article form, that’s all. i.e:

page

<ul>
<txp:article form="article_list" />
</ul>

article_list

<li><txp:permlink><txp:title /></txp:permlink></li>

Offline

Board footer

Powered by FluxBB