[pmwiki-users] user-customisation of edit form

Hans design at flutesong.fsnet.co.uk
Wed Jul 20 04:14:06 CDT 2005


With the new Site.EditForm and the Site.Preferences I was thinking
that it may be nice if users can choose to build their own edit form
and have this set via Site.Preferences, since we are all so
individualistic and prefer the edit window in so many different ways.

It was not difficult to achieve:

I added to config.php:

   $PageEditForm = '$[Site.EditForm]'

and I added to Site.Preferences (this is not really necessary, but it
gives the idea):

   'Site.EditForm' => 'Site.EditForm',

As said in Site.Preferences, a user should copy this page under a
different name, make any customisations, and _select this link_, which
will place a cookie with the new page name for the Preferences.
So I created Site.PreferencesHans and added

   'Site.EditForm' => 'Site.EditForm2',

with EditForm2 being my customised version.

That's all. Individual users can have their personal Preference page
with an entry pointing to their customised edit form.

Now I wonder if this would be a generally desirable feature, I wonder
if  $PageEditForm = '$[Site.EditForm]' could be enabled in the pmwiki
distribution?

Anyone who likes this?


Best regards,
 Hans                          





More information about the pmwiki-users mailing list