[pmwiki-users] Repost: Could Edit always include Preview?

Hans design at softflow.co.uk
Fri Apr 28 11:41:13 CDT 2006


you could add at the bottom of your Site.EditForm or whatever edit
form you use:

(:if ! e_preview:)
----
!{$Title}
(:include {$FullName}:)

Don't get frightened when you save the edit form, because it will
include itself a number of times. It works fine on other pages,
the page is displayed "as is" underneath the normal edit form,
separate it with a horizontal rule and title header if you like.
When previewing your edit this will not display, but the preview
instead.


Best,
 Hans                           





More information about the pmwiki-users mailing list