[pmwiki-users] Fox Contacts Edit

Vince Administration vadmin at math.uconn.edu
Wed Mar 17 09:09:45 CDT 2010

On Mar 16, 2010, at 5:40 PM, Hans wrote:

> 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
Hans, Thanks that did it, it works fine now.   
There is one thing I would like to do if it is not too difficult.  That is to allow spaces in the contact names.  This should be either very easy or next to impossible. 
Thanks again, 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20100317/ddf112c8/attachment.html 

More information about the pmwiki-users mailing list