Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2007-06-14 16:25:32
- FireFusion
- Member
- Registered: 2005-05-10
- Posts: 698
Output the articles number in the list?
I need to put in an article form a tag to output that article’s current position in an article list as a number.
Is there a plugin for this?
Offline
Re: Output the articles number in the list?
The whole article list?
it’s id would work
Offline
#3 2007-06-14 16:59:28
- FireFusion
- Member
- Registered: 2005-05-10
- Posts: 698
Re: Output the articles number in the list?
Doesn’t matter. I found a way around this for my task.
Offline
Re: Output the articles number in the list?
Maybe this plugin: http://textpattern.org/plugins/513/xor_sectiontools
Offline
Re: Output the articles number in the list?
If you mean simply giving each article in the list a consecutive number (i.e. not their IDs) I’ve used this snippet in an article form before to output a simple number:
<txp:php>global $i;$i++;echo $i;</txp:php>
TXP Builders – finely-crafted code, design and txp
Offline