|
Cookbook /
PreviewTopSummary: How to place the page preview above the edit box
Version: Jun-06-2004
Prerequisites:
Status:
Maintainer: Pm
Categories: Layout
QuestionBy default, PmWiki's edit form places the page preview beneath the edit box. How can I move it to be at the top instead? Answer 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
Add the following code to a local customization file:
DiscussionThis statement simply switches the order of the $PagePreviewFmt and If you want to display the edit quick reference as well, use
instead of the above code. --thom Idea for alternative behaviourWhat if pressing the 'Preview'-button would leave the resulting edit-window scrolled to the top of the previewd part? (Rather than seeing the code). /Christian I don't know how to do this in HTML, sorry. --Pm
Contributors
This seems to be broken or perhaps the customization is not set anymore? -- Balu Fixed now -- I apparently deleted the customization at some point in the past. --Pm Looks like you did again :) Balu Fixed again :) --Pm |