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.


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 *:)
  • Cjc Δ ... 4,096 bytes ... August 09, 2015, at 04:02 AM
  • Cookbook Δ ... 131,072 bytes ... December 13, 2017, at 09:18 PM
  • Cookbook-V1 Δ ... 12,288 bytes ... August 09, 2015, at 03:45 AM
  • EmacsModes Δ ... 4,096 bytes ... August 09, 2015, at 03:39 AM
  • lock.gif Δ ... 549 bytes ... August 09, 2015, at 03:50 AM
  • lock.png Δ ... 4,765 bytes ... August 09, 2015, at 03:50 AM
  • Main Δ ... 4,096 bytes ... December 11, 2017, at 01:01 PM
  • PITS Δ ... 4,096 bytes ... August 14, 2017, at 04:43 AM
  • Pm Δ ... 4,096 bytes ... August 09, 2015, at 03:39 AM
  • PmCal Δ ... 4,096 bytes ... August 09, 2015, at 04:00 AM
  • PmWiki Δ ... 4,096 bytes ... August 09, 2015, at 03:39 AM
  • Skins Δ ... 131,072 bytes ... December 13, 2017, at 09:18 PM
  • Test Δ ... 4,096 bytes ... October 12, 2016, at 04:16 AM
  • TestProtected Δ ... 4,096 bytes ... June 06, 2016, at 03:54 PM
  • TestW7 Δ ... 4,096 bytes ... November 29, 2017, at 11:19 AM
(:attachlist Pm:)
(:attachlist ext=gif:)

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: