[pmwiki-users] Repost: Could Edit always include Preview?
Patrick R. Michaud
pmichaud at pobox.com
Fri Apr 28 14:22:45 CDT 2006
On Fri, Apr 28, 2006 at 02:10:14PM -0500, Tegan Dowling wrote:
> On 4/28/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> > Even better, shorter, and more robust is the following:
> >
> > !!$[Preview {$FullName}]]
> > (:if e_preview:)'''$[Page is unsaved]'''(:if:)
> > (:e_preview:)
> > (:if e_preview:)
> > ---
> > '''$[End of preview -- remember to save]'''
> > (:if:)
> > [[#top | $[Top] ]]
> >
> > Notably, this version doesn't require the use of (:include:),
> > nor does it result in the repeating include when the EditForm
> > is being edited.
> >
> > Pm
>
> are there two typos, should that be
> !!$[Preview {$FullName}]
> and
> ----
> ?
Yes, you're correct. Sorry about that.
Pm
More information about the pmwiki-users
mailing list