[pmwiki-users] if action = whatever ... doesn't work?
tmdowling at gmail.com
Sun Aug 13 09:35:04 CDT 2006
On 8/13/06, Scott Connard <connard at dsg-inc.com> wrote:
> 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<http://www.pmwiki.org/wiki/Cookbook/ConditionalMarkupSamples%23action>) 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.
Ah! Thank you , Scott. Does anyone know if this is the only conditional on
that page that isn't defined in the distribution?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pmwiki-users