Questions answered by this recipe
How can I replace or customize my Site.EditForm?
Provide administrators and authors with examples and instructions for replacing or customizing their site's Site.EditForm.
Site.Gemini-EditForm is a wide edit form with an extra row of buttons above the edit textbox. It suppresses the sidebar and the titlebar to maximise editing space.
An EditForm in which the preview and quickhelp pane pops up on top of the edit textbox. No more downscrolling is necessary to view the preview.
Included in the zip is also an alternative version popup2edit.php which will load the styles needed from separate stylesheets. These need copying to Farmpub/css/
The styles are optimised for display in Gemini, Fixflow and Triad skins. For other skins some small adjustments of the values to position the preview optimally may be necessary.
Preview with every edit
You can replace part of the markup on the Site.EditForm to force the display of the page preview whenever
Edit the existing Site.EditForm and make the following replacement in its text:
Make "minor edit" the default save behavior
Edit the Site.EditForm page, and change the
Warn user when editing and saving a new page will create a new wiki group
Display a warning when a user is creating a page in a non-existent wiki group.
Details appear on Cookbook:NewGroupWarning.
Add labels to the edit form to make it more accessible
(:label e_changesummary $[Summary]::) (:input e_changesummary id="e_changesummary":)\\ (:label e_author $[Author]::) (:input e_author id="e_author":) (:input e_minorcheckbox id="e_minorcheckbox":) (:Label e_minorcheckbox $[This is a minor edit]:)\\
See discussion at EditFormSamples-Talk