Re: [pmwiki-users] New Recipe: PTVReplace

2007-03-13 Thread The Editor
On 3/13/07, Hans [EMAIL PROTECTED] wrote: Tuesday, March 13, 2007, 12:39:40 PM, Hans wrote: I fixed a small bug in the replacement code to make it more precise and a little less eager.. Update released on pmwiki.org Plus another update: By default a replacement link will show the new

[pmwiki-users] New Recipe: PTVReplace

2007-03-12 Thread Hans
StringReplace is not quite good enough for replacing a number of Page Text Variables in one action. Therefor I created PTVReplace, which is dedicated to change values of PTVs only. See http://www.pmwiki.org/wiki/Cookbook/PTVReplace One can use either special link markup or input forms. PTVReplace

Re: [pmwiki-users] New Recipe: PTVReplace

2007-03-12 Thread The Editor
Hans, this is brilliant! In fact, I'm wondering if I shouldn't reconsider how ZAP handles it's text variables. This approach could make some things, at least a lot simpler . Thanks for sharing the concept... Currently in ZAP, you have the option of storing text variables in one of two

Re: [pmwiki-users] New Recipe: PTVReplace

2007-03-12 Thread Kathryn Andersen
On Mon, Mar 12, 2007 at 06:19:16PM +, Hans wrote: Monday, March 12, 2007, 4:21:22 PM, Hans wrote: At the moment the recipe works only on hidden PTVs of form (:PTVName:Value:), not on PTVs of form Name: Value or :Name:Value I updated the recipe just now. Now it works on page