Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-12-04 22:15:25

Charlie Chalk
Member
Registered: 2005-09-06
Posts: 51

Article number (within catagory)

Hi

I have been slowly working away on my lists site, and with some much appreciated help from the guys here I am getting a reasonable amount of hits.

I am now in the proccess of refining the design to make it a little less ‘blog-like’. I would like to give each article it’s own number, i.e. the latest article would be 1, the next newest 2 and so on. These numbers would only be relative to the catagory currently being displayed, not site wide. I would like to display the number along side the article it relates to.

I’ve tried to do this myself, by adding the number in a custom field, but everytime I get a new article I have to update every other previous one.

If anyone knows of a way to get Textpattern to create the number I’d love to hear about it!

CC

Last edited by Charlie Chalk (2006-12-04 22:16:35)

Offline

#2 2006-12-05 21:38:33

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

Re: Article number (within catagory)

You would have to create a plugin to do it.

Offline

#3 2006-12-05 22:05:18

Charlie Chalk
Member
Registered: 2005-09-06
Posts: 51

Re: Article number (within catagory)

Thanks Mary

I think that’s a little beyond my skills at the moment, I’ll put it to one side as a project for when I have some time.

Offline

Board footer

Powered by FluxBB