[pmwiki-users] New Recipe: StringReplace
SteP
step.list+pmwiki at gmail.com
Mon Mar 12 01:16:38 CDT 2007
Kathryn Andersen wrote:
> The options are case-sentive: it should be "target" rather than
> "Target", I think.
You're right, I had just figured that out. However, when I change it to
lowercase, no links are displayed on my page Go.Travel page, the exact
markup I'm using is
(:if equal '{{$Name}/Miami$:Dest}' '0':)(:stringreplace str1=":Dest:0:"
str2=":Dest:1:" label="Go to Miami" target="{$Name}/Miami" redirect=0:)
(:if equal '{{$Name}.Miami$:Dest}' '1':)(:stringreplace str1=":Dest:1:"
str2=":Dest:0:" label="Cancel Miami" target="{$Name}.Miami" redirect=0:)
More information about the pmwiki-users
mailing list