I was working on a custom action. I sent out my code yesterday, but I am still not getting anywhere. Any help with a "password protect/ unprotect with editors password" action would be greatly appreciated.

Thanks,
Alex

On Jul 15, 2012, at 12:50 PM, Peter Bowers wrote:

On Sun, Jul 15, 2012 at 5:43 AM, tamouse mailing lists
<[email protected]> wrote:
You're doing something here I don't quite get. The action is going to be
done by formscript.php, yet ...
(See below)
===(snip)===
# Rough (!!) pseudo-code for handling the form
if (@$_GET['setpw']) {

Here, you calling PmWiki routines?

How do you do that?

You're right.  I started with it all in config.php and then thought I
would simplify the example by separating it into its own script, but
that just complicates things because then you don't have access to
pmwiki routines.

A custom action is probably the better approach.

-Peter


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

Reply via email to