[pmwiki-users] Bug with SetTmplDisplay in preview handling?
Hans
design at flutesong.net
Mon Mar 7 09:24:18 CST 2005
Monday, March 7, 2005, 3:18:08 PM, Patrick wrote:
> How about just not processing the markup if $action == 'edit'?
> if ($action != 'edit') {
> Markup('showright','directives','/\\(:showright:\\)/e',
> "SetTmplDisplay('PageRightFmt', 1)");
> }
> Thus, a preview won't process (:showright:) but will leave it
> displayed in the preview, so that an author can see that the
> (:showright:) is there.
this works just fine. fantastic. Thanks so much!
Best,
~Hans
More information about the pmwiki-users
mailing list