[pmwiki-users] zap "consecutive numbering" comments
Hladůvka Jiří
mail at revida.sk
Wed May 23 14:58:44 CDT 2007
In JITSsnip page the following works nice
(:zapform key=formIssue:)
(:zap datapage_2="{*$Group}.#" formIssue:)
(:input hidden nextpage_2="{*$Group}.#" formIssue:)
etc
so the page names are numeric only.
If you need differ pages in a specific group you can do it via PTV e.g.
topic:How To Paint My Bike
Then you can filter pages in pagelist command
(:pagelist $:topic="How To Paint My Bike":)
May it helps, regards,
Jiri
The Editor napsal(a):
> On 5/23/07, noskule <noskule at gmx.net> wrote:
>> The Editor schrieb:
>>> 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.
>>>
>> Hm I gave it a try, but without success. Could you please take a look at
>> it? http://netstreams.org/test/pmwiki/index.php/Zap/NumberingNewPages
>> pwd: User/quick
>>
>> My goal is to number the pages like this:
>> * Group.Name-Issue-1001
>> * Group.Name-Issue-1002
>> * Group.Name-Issue-1003
>>
>> The form is in the groupfooter, the savepage line looks like this:
>> (:zap datapage="{*$Group}.{*$Name}-Related-#":)
>>
>> This produces allways the same page
>> Group.Name-Issue-1000
>
>
> Sorry, you are correct. It only works with number page names in the
> same group. So it can do Group.1001, Group.1002 but not what you have.
> You could perhaps try Group-Name-Issue.1000 if that would work for
> you.
>
> Cheers,
> Dan
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
> __________ Informacia od NOD32 2287 (20070523) __________
>
> Tato sprava bola preverena antivirusovym systemom NOD32.
> http://www.eset.sk
>
>
>
More information about the pmwiki-users
mailing list