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:*
34

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
 0: 00.00 MarkupToHTML begin
 1: 00.00 MarkupToHTML begin
 2: 00.04 MarkupToHTML end
 3: 00.04 MarkupToHTML begin
 4: 00.05 MarkupToHTML end
 5: 00.05 MarkupToHTML begin
 6: 00.06 MarkupToHTML end
 7: 00.06 MarkupToHTML begin
 8: 00.07 MarkupToHTML end
 9: 00.07 MarkupToHTML begin
10: 00.07 MarkupToHTML end
11: 00.07 MarkupToHTML begin
12: 00.08 MarkupToHTML end
13: 00.26 MarkupToHTML end
14: 00.29 MarkupToHTML begin
15: 00.33 MarkupToHTML end
16: 00.34 MarkupToHTML begin
17: 00.35 MarkupToHTML end
18: 00.35 now