[pmwiki-users] if action = whatever ... doesn't work?
connard at dsg-inc.com
Sun Aug 13 09:12:36 CDT 2006
Tegan Dowling wrote:
> I can't figure out whether the conditional (:if action browse:) and
> (:if ! action edit:) are failing to work properly, or if (more likely)
> I'm failing to understand and use the markup correctly.
The Cookbook (http://www.pmwiki.org/wiki/Cookbook/
ConditionalMarkupSamples#action) is partially correct where it lists:
Definition: $Conditions['action'] = '\$GLOBALS["action"]==\$condparm';
If you add that line to your local/config.php file, the syntax you
expect will work.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pmwiki-users