TWiki.org home
Support > SaveWithoutPreview
TWiki webs: Main | TWiki05x01 | Sandbox   Log In or Register

SupportGuidelines | Changes | Index | Search
Question

Is it possible to add save button in addition to the Preview Changes button? Sometimes i don't want to preview the changes. .

  • TWiki version:
  • Web server:
  • Server OS:

-- TWikiGuest - 30 Mar 2001

Answer

The TigerSkinPlugin is setup so that by default there is just Save and not Preview. Perhaps by examining it's templates you can figure out how to add a save or skip preview button.

-- MattWilkie - 31 Oct 2001


Here is the patch for avoiding preview for the Dec 2001 release (but it should be easy to adapt to others)

Hint: copy the old edit.tmpl to edit.preview.tmpl, so that users still wanting the old behavior can get it by adding to their TWiki home page:

    • Set SKIN = preview

-- ColasNahaboo - 18 Jan 2002

Yeah, the skin that we use internally at Valtech doesn't do preview. I might post it to TWiki one of these days, but it really, REALLY needs help from somebody who is more "presentation talented" with HTML than I am smile

-- DavidWeller - 19 Jan 2002

The patch to avoid preview is good, but it would be really useful to have both the preview and the save buttons available.

-- MartinWatt - 11 Apr 2002

Interesting - I would like to see this go into the core templates, as it works well on other Wikis such as PhpWiki (i.e. having Preview and Save on the same Edit form)...

-- RichardDonkin - 11 Apr 2002


Category: TWikiPatches

WebForm
SupportStatus AnsweredQuestions
I Attachment Action Size Date Who Comment
Unknown file formatpatch edit_no_preview.patch manage 2.8 K 2002-01-18 - 13:17 ColasNahaboo Patch to templates/edit.tmpl, Dec 2001 version
Edit | Attach | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions

TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.