[pmwiki-users] Pagelist conditionals
Jiri Hladůvka / OBUTEX
admin at obutex.com
Tue Feb 20 02:43:29 CST 2007
Martin Fick napsal(a):
> ...
>
> What about all the new suggestions of having special
> grouping options within templates, could the
> (:increment-count:) type directive be used to control
> the count within the individual groupings?
>
> (:increment-count name:)
> (:increment-count department:)
> ...
>
>
Good idea. There should be some
(:reset-count name:)
(:reset-count department:)
which would be used e.g. like this
(:first {=$:department}:)(:reset-count name:)
(:each:)(:increment-count name:)
(:last {=$:department}:)names number is {$$count-name}(:increment-count
department:)
Jiri
More information about the pmwiki-users
mailing list