[Pmwiki-users] Conditional Markup
Hans Bracker
design
Sun Jan 2 04:34:55 CST 2005
i tried to get conditional markup for a group condition to work, but
failed. The code from PmWiki/ConditionalMarkup
$Conditions['group'] = $FmtPageName('\$Group',\$pagename)==\$condparm";
produced an error: "unexpected character input", which i thought came
from a missing ". So i changed the line in config.php to:
$Conditions['group'] = "$FmtPageName('\$Group',\$pagename)==\$condparm";
I don't get an error now, but the conditional test does not work
either using markup as described: (:if group PmWiki:) text here (:if:)
What should the correct condition definition be?
Using (:if match ^PmWiki\. :) works fine.
Thanks in advance for your help!
Best,
~Hans
More information about the pmwiki-users
mailing list