Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-09-11 20:34:07

mwillse
Member
From: brooklyn, ny
Registered: 2006-06-26
Posts: 83
Website

category list sort in 4.0.4

I see in textbook that 4.0.4 will have a much improved category list tag. For one thing, it allows the sort order to be controlled by an attribute: categories=“comma separated category list”

By default it’s alphabetical of course. Would there be anyway though to control sort direction?

If you’re listing literature or history by decade or century, you might want to have it reversed: 1960’s, 1950’s, 1940’s … without having to maintain a list of your categories in your tag. Doing so, mixes content and presentation too much, especially when developing a site for a less tech savvy user.

thnx,
m

Offline

#2 2006-09-11 20:39:12

mwillse
Member
From: brooklyn, ny
Registered: 2006-06-26
Posts: 83
Website

Re: category list sort in 4.0.4

On a related note: I see that you can list categories that only belong to a specific parent category. Will you be able to keep this parent from being listed with its children? So that the parent is strickly for organizing categories on the backend?

I don’t imagine the category list will output a heirarchical list that can be controlled with CSS.

Offline

#3 2006-09-12 12:57:19

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

Re: category list sort in 4.0.4

  • Yes.
  • Possibly.
  • Possibly in the next major release.

Offline

#4 2006-09-21 00:54:52

sunmaker
Member
From: Washington DC
Registered: 2005-01-04
Posts: 40

Re: category list sort in 4.0.4

mwillse wrote:

I see in textbook that 4.0.4 will have a much improved category list tag.

Where exactly did you see that?


All boundaries are for practical purposes only.

Offline

#5 2006-09-21 01:54:13

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

Re: category list sort in 4.0.4

Offline

Board footer

Powered by FluxBB