[pmwiki-users] user-customisation of edit form

Julian Kamil juliankamil at yahoo.com
Wed Jul 20 09:44:05 CDT 2005


--- "Patrick R. Michaud" <pmichaud at pobox.com> wrote:
> This may actually be a more generic question -- how
> can PmWiki
> detect when the edit page is malformed and/or
> provide an option to
> bypass it...?

I can think of two ways to do this.  The first is
(probably not desirable) to walk the user through a
series of steps and generate the appropriate code in
the end.  The second is to let the user define a
freeform text and use either simplexml_load_string()
or something similar to that to check well-formedness
of the string.  As a precaution, we could add a link
called "Try Me First" or something similar that would
launch the edit page in a separate target window, and
let the user discover if it wouldn't work--sort of
like the preview function, but on a separate window. 
You think that will work?

Julian I. Kamil 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the pmwiki-users mailing list