Tags:
create new tag
, view all tags

Question

In our previous TWiki (V. 4.0.4) installation with "PatternSkin - 31 Jan 2006 (v2.0.0)" we liked the nifty button show/hide attachment which folds out/in the attachment-table. After updating to TWiki (V. 4.1.2) with "PatternSkin - 15 Jan 2006 (v2.0.6)" we don't see this button any more. How could one reactivate this nice show/hide-function respectively fold-out/in-function seen with "PatternSkin v2.0.0" ?

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: SpreadSheetPlugin, CalendarPlugin, CommentPlugin, EditTablePlugin, InterwikiPlugin, PreferencesPlugin, SlideShowPlugin, SmiliesPlugin, TablePlugin, TwistyPlugin, WysiwygPlugin
Server OS: Linux/SuSE, kernel 2.6.17.7
Web server: Apache/2.0.49
Perl version: perl, v5.8.3
Client OS: Debian Linux
Web Browser: firefox 2.0.2
Categories: Skin

-- JoachimRahn - 23 Mar 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

hehe. Your answer is sort of in your list of plugins.

I think you need to edit your patternskin templates to put the TwistyPlugin anchors back. unless ArthurClemens has added instructions on PatternSkin or can answer you question (maybe from onPlugins.PatternSkinDev ), I'd just compare the 2 releases of TWiki's template directory.

-- SvenDowideit - 28 Apr 2007

You need to update a couple add-ons:

-- ArthurClemens - 28 Apr 2007

But after upgrading and installing those, it still does not show the twisty for the attachments. What more is there to it?

-- KlaasHolwerda - 18 May 2007

If you look in the file templates/attachtables.pattern.tmpl you should see a line

%TMPL:DEF{"topicattachmentwisty"}%%TWISTYSHOW
can you confirm this?

-- ArthurClemens - 19 May 2007

I can't find in template templates/attachtables.pattern.tmpl the line

%TMPL:DEF{"topicattachmentwisty"}%%TWISTYSHOW
you mentioned.

To be sure that I have not a locally corrupted TWiki-version I downloaded the 4.1.2 distribution again from twiki.org http://twiki.org/p/pub/Codev/Release/TWiki-4.1.2.zip but even don't find it there

-- JoachimRahn - 22 May 2007

OK, just to confirm nothing else is causing the twisty to not appear.

At some point the twisty was removed because it ate performance on windows - on longer pages the display time of the page could run up to 20 seconds! I found a solution for BehaviourContrib, so with the updated contrib it should run fine now. You can use this template:

-- ArthurClemens - 22 May 2007

Yes in 4.1.2 the feature was removed. It is actually clearly described in the release note. And it will be back in 4.2.0.

-- KennethLavrsen - 23 May 2007

Thanks a lot Arthur, the new template works fine!!!

-- JoachimRahn - 24 May 2007

The template is included in the Twisty upgrade bundle. See UpgradingTwisty.

-- ArthurClemens - 19 Nov 2007

 
Change status to:

Topic attachments
I Attachment Action Size Date Who Comment
Unknown file formattmpl attachtables.pattern.tmpl manage 3.8 K 2007-05-22 - 15:29 ArthurClemens attachtables template with twisty
Topic revision: r10 - 2007-11-19 - ArthurClemens
 
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.