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 History Action Size Date Who Comment
Unknown file formatpatch single-step-save.patch r1 manage 1.1 K 2004-04-17 - 04:38 UnknownUser replace Preview button with Save button
Edit | Attach | Watch | Print version | History: r18 < r17 < r16 < r15 < r14 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r18 - 2004-04-20 - AndreUlrich
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.