Tags:
create new tag
, view all tags

Question

After upgrading to the Pattern Skin, when you edit a page (in any Web), and then Click Preview, it automatically Saves the Page.. Has anyone seen this happen before?

Environment

TWiki version: TWikiRelease01Feb2003
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Windows 2000
Web server: Apache -
Perl version:  
Client OS: Windows 2000/XP
Web Browser: Mozilla Firefox 1.0
Categories: Topic revisions

-- AlvinChung - 18 Jan 2005

Answer

The PatternSkin is specific for the latest production TWikiRelease02Sep2004 that supports a direct save. Upgrade your TWiki.

Alternatively you can try to fix the Pattern skin to work with the older TWiki version. Modify edit.pattern.tmpl: and:

  • replace action="%SCRIPTURLPATH%/save%SCRIPTSUFFIX%/%WEB%/%TOPIC%" with action="%SCRIPTURLPATH%/preview%SCRIPTSUFFIX%/%WEB%/%TOPIC%".
  • remove the input types of names "checkpoint", "quietsave" and "save"

This is untested but should give you enough directions.

-- PeterThoeny - 23 Jan 2005

I found a similar issue (Preview does not work) when using the GermanTanslationForCairo. Basically the problem there (template line 104) is that the value of the button must be Preview rather than any German translation.

-- WolfgangAlper - 29 Jan 2005

 
Topic revision: r3 - 2005-01-29 - WolfgangAlper
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
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.