[pmwiki-users] Fox Contacts Edit
Hans
design5 at softflow.co.uk
Tue Mar 16 16:40:21 CDT 2010
Tuesday, March 16, 2010, 6:02:26 PM, Vince Admin Account wrote:
> to post to the page.
> The message from (:foxmessages:) is
> Error: You are not allowed to post to this page!
Vince, I chec ked, and this erroro nly occurs when a pagecheck=
parameter is set. I think pagecheck was set to prevent overwriting an
existing page when a new contact is added. But it seems it prevent
editing the same page. So we need to change in the form how
pagecheck is set:
Remove pagecheck=1 from the (:fox ...:) markup.
Add this conditional and hidden control inside the form:
(:if equal {$EditTarget} '':)(:input hidden pagecheck 1:)(:if:)
When the foxedit link is used, $EditTarget is set, so pagecheck will
not be set.
~Hans
More information about the pmwiki-users
mailing list