00665: Allow customization of [[PmWiki/PageDirectives#attachlist|attachlist]] output

Summary: Allow customization of attachlist output
Created: 2006-02-11 11:01
Status: Open
Category: Feature
From: Pm, Simon
Assigned:
Priority: 5555554 3
Version: 2.1.beta24
OS:

Description: Currently the attachlist output cannot be customized, this should be fixed.

Or replaced by Cookbook.Attachtable


I'm adding to this rather than creating a new entry
Make attachlist more like page lists. In particular provide the parameters

  • group=
  • name=

to allow the attachlist to display files from a different group or page. Consider adding

  • fmt=
  • order=
  • count=

Currently the attachlist has only the following parameters

  • (:attachlist NAME:) shows a list of attachments of the group or page NAME.
  • (:attachlist ext=xxx:) specifies an extension for filtering by type of file.
  • (:attachlist *:) shows the uploads directory and permits browsing of all uploaded files by directory
(:attachlist *:)

Attachment list only accessible to pmwiki.org editors.

(:attachlist Pm:)

Attachment list only accessible to pmwiki.org editors.

(:attachlist ext=gif:)

Attachment list only accessible to pmwiki.org editors.


I agree with the above, plus I would love to see a number of attachlist specific variables such as {$$FileDate} {$$FileSize} and so on. swestrup October 06, 2007, at 08:42 AM


Would like to see support for filtering out extentions, i.e

  • ext= -jpg

VKrishn January 13, 2013, at 03:46 AM


References: