[pmwiki-users] password question

H. Fox haganfox at users.sourceforge.net
Tue Mar 28 00:17:26 CST 2006

On 3/27/06, Neil Herber <nospam at eton.ca> wrote:
> Is there markup that lets me test the action a "user" has performed?
> For example, if they enter this URL:
> http://example.com/wiki/Main/Comments?action=edit
> ... is there any way I can detect that they are editing? As in:
> (:if action edit:) ????

In config.php:

    $FmtPV['$action'] = $action;

In markup:

    (:if equal {$action} edit:)...(:if:)

(This works, but I don't know if it's the best solution.)


More information about the pmwiki-users mailing list