[Pmwiki-users] Conditional Markup

Patrick R. Michaud pmichaud
Sun Jan 2 08:24:32 CST 2005


On Sun, Jan 02, 2005 at 11:33:41AM +0000, Hans Bracker wrote:
> 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";

It should be 

  $Conditions['group'] = "FmtPageName('\$Group',\$pagename)==\$condparm";

Fixed now on pmwiki.org -- thanks.

Pm



More information about the pmwiki-users mailing list