Tags:
create new tag
view all tags

Question

Ever since I migrated from TWiki 4.1 to 4.2, the attachment table is always hidden. I can't see ay attachments on the topic page itself, regardless of the whether the 'h' attribute is set on the individual attachments.

Environment

TWiki version: TWikiRelease04x02x00
TWiki plugins: ForEachPlugin, SpreadSheetPlugin, ActionTrackerPlugin, CalendarPlugin, ChecklistPlugin, CommentPlugin, EditTablePlugin, ExternalLinkPlugin, InterwikiPlugin, PreferencesPlugin, SlideShowPlugin, SmiliesPlugin, StopWikiWordLinkPlugin, TWikiDrawPlugin, TablePlugin, TwistyPlugin
Server OS: Windows 2003
Web server: Apache 2.2.4 (win32-x86-no_ssl)
Perl version: ActivePerl-5.8.8.820 (MSWin32-x86-274739)
Client OS: Windows XP
Web Browser: Internet Explorer 6
Categories: Deployment

-- SeanCMorgan - 23 Apr 2008

Answer

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.

I found out what it was.

I had modified the CSS to hide the table display of form data, as described at HidingForms. That turns out to be a bad idea, because the attachment table shares the same CSS class.

So I modified the view template instead:

  • File: /TWiki/templates/view.pattern.tmpl
  • From: %TMPL:DEF{"formatbottom"}%%TMPL:P{"form"}%%TMPL:END%
  • To: %TMPL:DEF{"formatbottom"}%%TMPL:END%

-- SeanCMorgan - 20 May 2008

Change status to:
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2008-05-27 - SeanCMorgan
 
  • 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.