<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jul 12, 2011, at 5:04 AM, adm wrote:</div><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div bgcolor="#ffffff"><br>When tried to use this recipe<span class="Apple-converted-space"> </span><br>(<a href="">http://www.pmwiki.org/wiki/Cookbook/MarkupExprPlus</a>) error pop up.<br><br>Exact steps that lead to the error:<br>1) Download markupexprplus.php into 'cookbook' folder<br>2) Add to config.php<br>include_once("$FarmD/cookbook/markupexprplus.php");<br></div></span></blockquote><div><br></div>You need to add one more thing. In Cookbbok/MarkupExprPlus, they state that to use set and setq, you need to enable variables:</div><div><br></div><div><meta charset="utf-8"><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 15px; line-height: 19px; "><dt>$EnableExprVarManip</dt><dd>When set to <code style="font-size: 0.9em; font-family: 'Lucida Console', 'Andale Mono', 'Courier New', Courier, monospace; ">1</code>, enables variable manipulation through "set" and "setq" extra functions: They both handle value assignation to<a class="wikilink" href="http://www.pmwiki.org/wiki/PmWiki/PageVariables">PageVariables</a>, the latter performing quietly without any output.</dd><dd><br></dd><dd><br></dd></span>So, add the following to local/config.php before you include markupexprplus.php:</div><div><br></div><div>$EnableExprVarManip = 1;</div><div><br></div><br></body></html>