[Pmwiki-users] if-markup

mailing@alboldt.de mailing
Thu Oct 21 04:52:45 CDT 2004


I can't get the if-markup working. Do I have to activate this in a
certain manner ?



I did define test-conditions:

  $Conditions['true'] = TRUE;

  $Conditions['false'] = FALSE;



to use for a testpage:

[:if true:]this text should apear

[:if true:]this text should not apear

[:if]



but I can still see all the text incl the markup.



what did I do wrong ?



I dumped all vars when I output the page and I exspected that all
markup()-calls will create a corresponding entry (key=1.arg of
markup()) within the markuptable, but there are some missing. Could
that be the reason ?



Knut







More information about the pmwiki-users mailing list