Tags:
create new tag
, view all tags
I would like a simple way to save the edits of topics directly without having to perform a preview. This saves time in having to click through and process the two pages rather than one. Can always edit the resultant page or select to edit an earlier revision if necessary to recover blunders. -- RickyWest - 13 Jan 2002

There is a very easy cure for this: put a Save button on the edit page instead of Preview. To implement, edit templates/edit.tmpl and change all occurences of 'preview' to 'save'. There should be two occurences which look something like:

<form name="main" action="%!SCRIPTURLPATH%/preview%!SCRIPTSUFFIX%/%!WEB%/%!TOPIC%" method="post">
...
<input type="submit" value="   Preview Changes   " />

single-step-save.patch: replace Preview button with Save button. Patch is against 2003-Feb-01 twiki release

Other Wikis, e.g. OpenWiki, use both preview and save buttons on the same Edit page - this works well, i.e. if you want to preview you can do, but normally you just save. The Preview mode is definitely an obstacle for newbies to TWiki.

One might argue that the default should be to show preview if there is anything questionable, otherwise don't. Questionable means if WikiML is bad or if a topic referenced does not exist. Users should be able to override this to never show the preview.

TigerSkinPlugin has single step save as the default.

The KoalaSkin provides 5 buttons in edit view, see description in CheckpointSave. People at ILOG find it very easy to use (some still use preview, the other direct save). Going back to the standard edit way on twiki.org is a pain smile

The OpenWiki style save/preview was implemnted on the Evil Empire twiki site. It was pretty easy to do and only involved template changes. All the details are in the EvEm page.


JohnTalintyre, AndrewTetlaw, TWikiGuest, MartinCleaver, ColasNahaboo, AndreUlrich, RichardDonkin,

I've used a different wiki that offers separate save/preview buttons on the edit window, and I definately prefer TWiki's style. [...]

-- DavidLeBlanc - 04 Aug 2002

Topic attachments
I Attachment Action Size Date Who Comment
elsepatch single-step-save.patch manage 1.1 K 17 Apr 2004 - 04:38 MattWilkie replace Preview button with Save button
Topic revision: r18 - 20 Apr 2004 - 07:56:23 - AndreUlrich
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback