[pmwiki-users] Skins and Custom Edit Forms
Patrick R. Michaud
pmichaud at pobox.com
Tue Jul 26 09:51:47 CDT 2005
On Tue, Jul 26, 2005 at 03:36:42PM +0100, Hans wrote:
> Tuesday, July 26, 2005, 1:53:37 PM, Patrick wrote:
> > Or, the skin can set it only if it's not set already, by using
> > SDV ("set default value"):
>
> > SDV($PageEditForm, '$[Site.EditForm]');
> > or
> > SDV($PageEditForm, 'Site.myskin-EditForm');
>
> But Pmwiki sets in forms.php:
> SDV($PageEditForm, '$SiteGroup.EditForm');
>
> So I need to use in skin.php:
> $PageEditForm = '$SiteGroup.mySkin-EditForm';
skin.php is loaded before forms.php, so it'll get
priority.
Pm
More information about the pmwiki-users
mailing list