create new tag
, view all tags


I've just migrated a TWiki 4.0.5 site to version 4.1.2. In doing so, I installed the most recent versions of all installed plugins and contribs, including TwistyPlugin and TwistyContrib. But now all the "twisties" that used to display show/hide links for attachments are missing. The attachments still appear in a table, but without the twisty function. The plugin appears to be installed properly.

What would cause that, and what can I try to verify that other similar functions are working?


TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: RHEL4u5 Linux
Web server: Apache 2.0.52
Perl version: 5.8.5
Client OS: OS X, RHEL4
Web Browser: Firefox 2
Categories: Javascript, Plugins

-- JohnDeStefano - 09 Nov 2007


ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

See ShowAttachmentsOnOff why the attachment twisty is missing. See TwistyBehaviourProblem what may cause the plugin to not work after an upgrade.

-- ArthurClemens - 09 Nov 2007

Thanks Arthur. I'm not using the QuickMenuSkin, just Pattern. I saw in the Dev thread that you were looking to notify someone of changes made to Pattern in order to address this.

Do you have any advice on code to replicate in 4.1.2 the twisty attachment control that used to work in 4.0.x?

-- JohnDeStefano - 13 Nov 2007

Replace your version of templates/attachtemplates.pattern.tmpl with the one attached here.

-- ArthurClemens - 13 Nov 2007

I replaced the template, also tried replacing the template after updating Pattern to the "patched" Jan 2007 version. The attachment table appears as expected, but clicking the Attachments twisty doesn't collapse the table (just returns the browser to the top of the page).

-- JohnDeStefano - 14 Nov 2007

Did you follow the steps mentioned on TwistyBehaviourProblem?

-- ArthurClemens - 14 Nov 2007

Yes, I believe so: I had already installed the latest versions of TwistyContrib and PublishContrib, and I then installed the latest Pattern. I don't have the same problem as shown in ProblemsWithTwistyPlugin1Dot1 (advice there was to upgrade TwistyContrib).

-- JohnDeStefano - 14 Nov 2007

You might need the newer javascript files (hard to say - do you see any javascript errors?). See attached on TwistyPluginDev.

-- ArthurClemens - 14 Nov 2007

I hadn't noticed any errors before now, but I did see a JS error when I tried clicking the twisty this time:

Behaviour is not defined


Line 1

At any rate, following your link above to the patch, and installing the updated TwistyPlugin.pm file in /var/www/twiki/lib/TWiki/Plugins over the existing plug-in file seems to have fixed the problem. It's working just fine now. Thank you!

-- JohnDeStefano - 15 Nov 2007

If you want to upgrade TwistyPlugin - or have upgraded already - please see UpgradingTwisty for an easy bundle upgrade package.

-- ArthurClemens - 19 Nov 2007

Change status to:
Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formattmpl attachtables.pattern.tmpl r1 manage 3.2 K 2007-11-13 - 20:44 ArthurClemens attachtables template for TWiki 4.1.2 to show a twisty link with the attachment table
Edit | Attach | Watch | Print version | History: r10 < r9 < r8 < r7 < r6 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r10 - 2007-11-19 - ArthurClemens
  • 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-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.