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 History Action Size Date Who Comment
Unknown file formatcfg TWiki.cfg r1 manage 23.3 K 2004-07-16 - 11:37 UnknownUser TWiki.cfg config file
Texttxt edit.tiger.tmpl.txt r1 manage 3.2 K 2004-07-16 - 11:04 UnknownUser changed edit template for TigerSkin
HTMLhtm testenvoutput.htm r1 manage 11.9 K 2004-07-16 - 11:01 UnknownUser output from testenv
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2004-07-20 - HenrikWeber
 
  • 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.