Tags:
create new tag
, view all tags

Question

I have installed TigerSkin on the TWiki beta from 7 May 2004. I have changed the edit.tiger.tmpl in order to get the preview button instead of save changes by copying the corresponding line from edit.tmpl. I have applied the patch for the RefreshEditPage problem as well. The resulting template files are attached.

Now when I create a new topic by following a "?" link and preview my changes, at the top of the page the name of the parent topic is shown. However when I save the changes this is gone. I can switch to the default skin and set the parent for the topic manually. This is then displayed correctly with TigerSkin. Further edits of the same topic using TigerSkin leave the parent intact.

The parent is set correctly when I create the topic using the default skin.

Debugging so far has revealed that the %TOPICPARENT% variable is set in the edit page, no matter which skin I use. However it is empty when I preview the page using TigerSkin. It is set when previewing with the default skin. I just can't find the reason why this is the case. Does anyone have an idea where to look next?

Environment

TWiki version: TWikiBetaRelease2004x05x07
TWiki plugins: DefaultPlugin, SpreadSheetPlugin, CommentPlugin, EditTablePlugin, InterwikiPlugin, RenderListPlugin, SessionPlugin, SlideShowPlugin, SmiliesPlugin, SyntaxHighlightingPlugin, TablePlugin, TigerSkinPlugin
Server OS: Suse Linux Enterprise Edition, kernel 2.4.21-smp
Web server: Apache 2.0.48
Perl version: 5.8.0
Client OS: MS Windows XP
Web Browser: IE 6.0.2800.1106.xpsp1.020828-1920

-- HenrikWeber - 16 Jul 2004

Answer

Okay, I found it. In preview.tiger.tmpl there is a line:

<input type="hidden" name="parent" value="%TOPICPARENT%" />

This must be changed to:

<input type="hidden" name="topicparent" value="%TOPICPARENT%" />

Topic attachments
I Attachment Action Size Date Who Comment
Unknown file formatcfg TWiki.cfg manage 23.3 K 2004-07-16 - 11:37 HenrikWeber TWiki.cfg config file
Texttxt edit.tiger.tmpl.txt manage 3.2 K 2004-07-16 - 11:04 HenrikWeber changed edit template for TigerSkin
HTMLhtm testenvoutput.htm manage 11.9 K 2004-07-16 - 11:01 HenrikWeber output from testenv
Topic revision: r2 - 2004-07-20 - HenrikWeber
 
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.