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