<dtml-var sequence-index format ??
inside a <dtml-in> tag , i have <dtml-var sequence-index>, showing the number of the item in the sequence. The first item starts with the value 0, whereas i'd like it to start with the value 1. can i in any way specify this with the "fmt=whatever" property, or do i have to make an expression to add 1 to all the sequence-index-numbers ? thanks ------------------------------------------------ Geir B Hansen geirh@funcom.com Web-designer / Graphic artist Funcom Oslo ------------------------------------------------
At 13:39 17/09/99 , Geir B Hansen wrote:
inside a <dtml-in> tag , i have <dtml-var sequence-index>, showing the number of the item in the sequence.
The first item starts with the value 0, whereas i'd like it to start with the value 1. can i in any way specify this with the "fmt=whatever" property, or do i have to make an expression to add 1 to all the sequence-index-numbers ?
You will have to use an expression. -- Martijn Pieters, Web Developer | Antraciet http://www.antraciet.nl | Tel: +31-35-7502100 Fax: +31-35-7502111 | mailto:mj@antraciet.nl http://www.antraciet.nl/~mj | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 ------------------------------------------
participants (2)
-
Geir B Hansen -
Martijn Pieters