[pmwiki-users] Re: Re: Re: Supporting different modes in default pmwiki
chr at home.se
chr at home.se
Sun Aug 7 14:48:27 CDT 2005
On Sun, 7 Aug 2005, Bronwyn Boltwood wrote:
> On 8/7/05, chr at home.se <chr at home.se> wrote:
> > Please do :-) To be honest, I expect that very minor modifications of
> > pmwiki would be needed. Mainly support for remembering the preferred mode
> > of a user. Something else that's important, but doesn't really require
> > change, is that come up with standard mechanism for modes -- just to make
> > it easier for skins to be "compatible". Switching modes might just be the
> > same as switching a skin, or the skin might consist of several sub-skins.
> I'm currently working on something quite similar, which would make
> saved configurations of the Pukka skin (which is really a chameleon)
> available through $Skin and skinchange. I expect that some of the
> code for skin modes and saved configurations will be the same!
Ok. Mabye it could be generalized then... or maybe mode would simply be a
special case of a configuration.
Here's a perhaps wild idea for the author mode... what if you got an edit
form at the bottom of each page you view?
It's sounds kind of crazy at first, but it'd definitely make it quick to
edit the page. You could either remove the edit link in this case, or
simply make it a link to an anchor just in front of the edit form.
It'd be like working in a preview mode, except that changes are actually
saved if you press saved (unless you'd use the preview button).
Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
More information about the pmwiki-users