{AutoAttachPubFiles}
functionality with a batched update - so you can upload (ftp, drag&drop etc) thousands of images into TWiki's pub area, and then tell TWiki to update the attachments to all your topics.
This will allow you to SEARCH for attachments, use TWiki:Plugins/DBCacheContribhttps://skladowanie.pgi.gov.pl/twiki/bin/rest/UpdateAttachmentsPlugin/update?topic=Sandbox.WebHome
./rest UpdateAttachmentsPlugin.update topic Sandbox.WebHome
$TWiki::cfg{Plugins}{UpdateAttachmentsPlugin}{AttachAsUser}
- defaults to the unknown user. To reset the attributed user for attachments that already exist, touch
the files in the attachment directory.
$TWiki::cfg{Plugins}{UpdateAttachmentsPlugin}{RemoveMissing}
- will remove attachment references in a topic that no longer exist
$TWiki::cfg{Plugins}{UpdateAttachmentsPlugin}{UseDangerousNoHandlersSave}
- use with extreme caution, if you understand what the results of a no_handler save are, and if you are able to recover your TWiki if it fails.
$TWiki::cfg{Plugins}{UpdateAttachmentsPlugin}{Debug}
- to see what topics are updated (edit LocalSite.cfg by hand to add this setting).
$TWiki::cfg{AutoAttachPubFiles}
is on, predominantly on the WebHome and WebPreferences topics.
You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server where TWiki is running.
Like many other TWiki extensions, this module is shipped with a fully
automatic installer script written using the BuildContrib. configure
interface (Go to Plugins->Find More Extensions) .zip
or .tgz
archives
perl <module>_installer
)
configure
and enable the module, if it is a plugin.
,v
files in your existing install (take care not to lock the files when you check in)
Plugin Author: | TWiki:Main.SvenDowideit![]() ![]() |
Copyright: | © 2007 SvenDowideit@distributedINFORMATION.com; © 2007-2011 TWiki:TWiki.TWikiContributor ![]() |
License: | GPL (Gnu General Public License)![]() |
Plugin Version: | 21289 (2011-05-14) |
Change History: | |
2011-05-14: | TWikibug:Item6701![]() ![]() |
2010-05-04: | TWikibug:Item6433![]() |
Dec 2007: | add AttachAsUser |
Nov 2007: | initial release |
Dependencies: | None |
Plugin Home: | http://twiki.org/cgi-bin/view/Plugins/UpdateAttachmentsPlugin![]() |
Feedback: | http://twiki.org/cgi-bin/view/Plugins/UpdateAttachmentsPluginDev![]() |
Appraisal: | http://twiki.org/cgi-bin/view/Plugins/UpdateAttachmentsPluginAppraisal![]() |