[pmwiki-users] zap "consecutive numbering" comments

The Editor editor at fast.st
Tue May 22 10:39:11 CDT 2007


On 5/22/07, noskule <noskule at gmx.net> wrote:
> hi list/dan
>
> I wondering if there is a way to "consecutive numbering" numbering
> comments, ie comment-1, comment-2, comment-3. What I'm doing now is save
> datapages like this:
>
>    (:zap datapage="{*$Group}.{*$Name}-Issue-+" note:)
> so far I undersand the + gives a timestamp number

That's the purpose of the threading.  Try using # instead of + (must
be the last character of a page name.  To get it to start at something
beside 1000, reset $ZAPthreadstart in your config file.

> And a question: If it somehow would work, what's happen if a Issue gets
> deleted.

The pages will not be renumbered. There will be a gap in the sequence.
The next one will get added on to the end, + 1 of course.

> thanks for any hints

Cheers,
Dan



More information about the pmwiki-users mailing list