[pmwiki-users] Setting PTV within condition
pmwiki at solidgone.com
Thu May 13 13:22:59 CDT 2010
To answer my own question...
On 5/13/2010 2:16 PM, DaveG wrote:
> This statement:
> (:if equal 1 1:)here (:x:19:)(:else:)there (:x:23:)(:if:)
> Returns a value for x of 23. Why? It looks like the condition evaluates
> correctly since 'here' is displayed on the page, but the value is set
> from the 'else'.
> See test at: Test/DaveG-PTV
> If this is invalid markup for some reason, what is the correct way to
> conditionally set a PTV?
It is invalid: PmWiki/PageTextVariables#conditionals
I'll simply work with this in a another way.
~ ~ Dave
More information about the pmwiki-users