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
--
JoachimRahn - 23 Mar 2007
Answer
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