Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-02-24 16:57:24

toki
New Member
Registered: 2006-01-29
Posts: 3

Articles from Category ... sub-category and parent

Hello.

I’m trying to work it out how to show articles from Main category (which is parent to ONE TWO THREE):

CATEGORIES

Main
  • ONE
  • TWO
  • THREE
Other
  • ALFA
  • BETA
  • GAMMA

So the question is how to show 1 article from a MAIN (parent) category – it doesn’t matter if it’ll be from one two or three. I just want to show up an excerpt of an article on the front page … :(

Thank you.

Last edited by toki (2006-02-24 17:07:57)

Offline

#2 2006-02-25 15:27:24

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Articles from Category ... sub-category and parent

You could try using the “article_custom” tag so <code><txp:article_custom limit=“1” category=“Main” /></code> unless I’ve missed the point somewhere.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#3 2006-02-26 04:52:45

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

Re: Articles from Category ... sub-category and parent

That won’t work, it checks for straight column equivalency, it doesn’t understand hierarchy at this point.

Offline

#4 2006-02-26 07:26:16

alesh
Member
From: Miami, FL
Registered: 2005-04-13
Posts: 228
Website

Re: Articles from Category ... sub-category and parent

Wow . . .congrats, Mary, on 3000!


Yes, I have tried turning it off and on.

Offline

Board footer

Powered by FluxBB