Fwd: [pmwiki-users] Redesigning the edit page
Patrick R. Michaud
pmichaud at pobox.com
Tue Apr 26 14:55:51 CDT 2005
On Tue, Apr 26, 2005 at 12:48:46PM -0700, Menachem Shapiro wrote:
> Sorry. resending this to the mailing list.
Re-replying to the mailing list. :-)
> On 4/26/05, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> > It depends on whether I want (:ef previewhtml:) to include all of
> > the decoration or to leave it as just the html and leave it to
> > the template to provide the decoration.
>
> I figured it would be like (:ef message:). The way I understood it,
> even though (:ef message:) is in the markup, it will only display a
> message if it needs to.
Actually, the message is always displayed, but sometimes it just
happens to be empty.
> I figured the same thing would be with (:ef
> previewhtml:); it would always be in the markup, but the pmwiki engine
> would take care of whether or not the preview was displayed (by
> default it wouldn't be displayed until the 'Preview' button was
> pressed).
Well, since there are some who have requested the ability to
always have the preview display (even on first edit), using the
conditional markup to achieve this seems like a nicer way to go
than having lots of custom switch variables in config.php.
Pm
More information about the pmwiki-users
mailing list