[pmwiki-users] Dynamically modifying page

DaveG pmwiki at solidgone.com
Tue May 25 18:15:18 CDT 2010



On 5/25/2010 6:12 PM, Hans wrote:
>> Does PmWiki still processes the text within (:if:) conditions,
>> when the conditions fail?
>
> Did it do so at some point?
> Some things get evaluated before conditional markup, like variables,
> PTVs, translations, escaped text.
As Hans points out, if the markup is '<if' it does get evaluated before 
the condition, and thus will always be evaluated. So when you have an 
if..else setting the same PTV to different values, the PTV will always 
be the value from the else. Refer to 
PmWiki/PageTextVariables#conditionals for an example of this.

  ~ ~ Dave



More information about the pmwiki-users mailing list