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
--
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