How can I get the page preview to appear before the edit box?
PmWiki 2.0 beta 44 and later
To adjust the position of the page preview, edit the Site.EditForm special page on your wiki.
PmWiki versions 2.0.beta43 and earlier
This recipe can be only useful for sites running PmWiki version 2.0.beta43 and earlier.
The following was copied from the very similar PreviewTop page (now redirected here):
This recipe is superceded by 2.0.beta44. Now to adjust the position of the page preview, edit the Site.EditForm page on your site. --Pm
What that comment does not mention is that if you continue to use the old syntax that follows below, you will get the old edit form. -Jefferson (14 August 2005)||
Add the following line to a local customization:
$HandleEditFmt = array(&$PageStartFmt,&$PagePreviewFmt, &$PageEditFmt,&$PageEndFmt);
This simply changes
to reverse the order of the page preview output (in
$PagePreviewFmt) and the edit box in (
). This page has this customization enabled, so that previews appear above the edit box.
- Pm, 21-Jun-2004