Attachtable

Cookbook:Attachtable Path:/cookbook/attachtable.txt

login (password is quick) logout

The Thumblist and Mini recipes create thumbnails with distinctive filenames which could eventually be skipped from the attachtable.

mini:*
3 4

Without list=, it is the same as list=default:

(:attachtable:)
3.png 2,4902008-11-01 14:04:00
4.jpg 3,9082008-11-01 14:04:00
(:attachtable list=default:)
3.png 2,4902008-11-01 14:04:00
4.jpg 3,9082008-11-01 14:04:00

Why the "default" behavior is to not display deleted files? It is the least surprise, what a wiki editor would normally expect to see, when he adds the markup to the wiki page. The other options are for advanced users, they can set list=something. --Petko 2007-11-30 03:13:18

(:attachtable list=all:)
0.jpg 13,3842008-11-01 14:04:00
3.png 2,4902008-11-01 14:04:00
4.jpg 3,9082008-11-01 14:04:00
th00---3.png.jpg 3,6152009-02-05 07:14:20
th00---4.jpg.jpg 6,1052009-02-05 07:14:20
(:attachtable list=deleted:)
0.jpg 13,3842008-11-01 14:04:00
(:attachtable list=thumbnails:)
th00---3.png.jpg 3,6152009-02-05 07:14:20
th00---4.jpg.jpg 6,1052009-02-05 07:14:20

Very cool: the attachtable here is skipping the thumbnails, but if you go to Attachtable?action=upload, you can see them. I am using in Site.UploadQuickReference the command (:attachtable list=all:).

This is in config.php:

  $AttachListPatterns['default']['thumblist']='!^th\\d+---!';
  $AttachListPatterns['thumbnails']['thumblist']='/^th\\d+---/';

The standard (:attachlist:) links to the deleted/overwritten file which can be downloaded:

  • You can read
function:StopWatchHTML 1