[pmwiki-users] Re: user-customisation of edit form

Patrick R. Michaud pmichaud at pobox.com
Wed Jul 20 14:43:43 CDT 2005


On Thu, Jul 21, 2005 at 01:02:48AM +0530, V.Krishn wrote:
> > But how do we help someone recover if they set their
> > Site.EditForm preference to a page with a malformed edit form, or
> > to a page that doesn't have an edit form at all? | 

> The idea is to have two EditForms in Site group.
> Exampls Site.EditForm(default) and Site.EditFormBakup
> When somehow Site.EditForm gets non-usable, one can use
> editform=Site.EditFormBak to edit any page.

We don't even need two EditForms, since using "editform="
with no page name will bring up the built-in form definition.

> Like wise we can also have Site.PreferenceBakup if the default gets corrupt or
  
> non working. Simply setprefs=Site.PreferenceBakup

Same here -- one can just do setprefs= to eliminate the preference
settings.  (Same as one can do setskin= to eliminate a default skin.)

> by the way... how does "editform=" option work?. I mean in which 
> version was this introduced and where is this documented 
> (coz I tried in beta45 and does not seem to work)

It was added in beta48.... but I didn't put it in the ChangeLog
or document it yet because I'm not convinced it's the right way to
handle this -- i.e., it's still a "provisional" feature.

But to use it, simply add '&editform=Group.FormName' to the end of
the ?action=edit url, and the page will be redisplayed using the form
given in Group.FormName.

Pm




More information about the pmwiki-users mailing list