Tags:
create new tag
view all tags

Question

I have manually edited the LocalSite.cfg file to include the following line

$TWiki::cfg{AutoAttachPubDir} = 1;

Files that are copy into the Public Topic location are not automatically attach.

Any pointers as to how to configure the automatic attachment will be appreciated.

Environment

TWiki version: TWikiRelease04x02x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Fedora 8
Web server: Apache 2.2.8
Perl version: 5.8
Client OS: Windows XP
Web Browser: Firefox
Categories: Installation

-- MiguelColon - 31 Mar 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.

Edit the TWiki.spec file and change the line that reads:

$TWiki::cfg{AutoAttachPubFiles} = $FALSE;

to

$TWiki::cfg{AutoAttachPubFiles} = $TRUE;

-- MiguelColon - 01 Apr 2008

You should not edit TWiki.spec since, among other reasons, such changes will get lost on every upgrade/update. Your initial idea of editing LocalSite.cfg is the correct approach. You simply mistyped the hash key, AutoAttachPubFiles is correct!

-- HaraldJoerg - 01 Apr 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-04-01 - HaraldJoerg
 
  • 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.