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 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.

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:
Topic revision: r3 - 2008-04-01 - HaraldJoerg
 
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.