On Jul 12, 2011, at 5:04 AM, adm wrote:

When tried to use this recipe
(http://www.pmwiki.org/wiki/Cookbook/MarkupExprPlus) error pop up.

Exact steps that lead to the error:
1) Download markupexprplus.php into 'cookbook' folder
2) Add to config.php
include_once("$FarmD/cookbook/markupexprplus.php");

You need to add one more thing. In Cookbbok/MarkupExprPlus, they state that to use set and setq, you need to enable variables:

$EnableExprVarManip
When set to 1, enables variable manipulation through "set" and "setq" extra functions: They both handle value assignation toPageVariables, the latter performing quietly without any output.


So, add the following to local/config.php before you include markupexprplus.php:

$EnableExprVarManip = 1;


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to