[pmwiki-users] RE: Page Edit Ideas

Ben Wilson ameen at dausha.net
Mon Jan 31 09:37:50 CST 2005


Quoting "Patrick R. Michaud" <pmichaud at pobox.com>:

[snip]
>
> Good points.  Actually, my original post was probably unclear
> about this, but my intent isn't necessarily to incorporate all
> of the features directly into the default distribution, but
> just to build a framework that makes it easier for such features
> to be added via cookbook recipes.
>
> The current framework for the page edit screen fails in this
> last respect, in that it's hard for cookbook authors to
> adjust things on the edit page.  It can be done, but the "hooks"
> for doing so all seem to be in the wrong place, and that's
> what I want to fix.  However, in order to know what hooks
> to provide, I need to have a reasonable idea of the range of
> features that might want to be supported, thus my original post.  :-)

I would think a separate template specifically for the edit portion of the page
would be idea. That is, while you have skin.tmpl to represent the entire page,
then you would want skin-edit.tmpl for the edit interface. This means that
skin-edit.tmpl would replace $PageEditFmt.

Then, when it comes to the layout itself, it becomes more customizable. I think
this would also reduce the need of various cookbook items to muddle with
$PageEditFmt, which leads invariably to recipe crash. Administrators can
customize their skin to their heart's content.

--
Regards,
Ben Wilson

"Mundus vult decipi, ergo decipiatur"



More information about the pmwiki-users mailing list