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 *:)
  • Cjc Δ ... 28 bytes ... August 09, 2015, at 09:02 AM
  • Cookbook Δ ... 143,360 bytes ... March 21, 2024, at 12:45 PM
  • Cookbook-V1 Δ ... 12,288 bytes ... February 09, 2024, at 11:59 AM
  • EmacsModes Δ ... 4,096 bytes ... August 09, 2015, at 08:39 AM
  • lock.gif Δ ... 549 bytes ... August 09, 2015, at 08:50 AM
  • lock.png Δ ... 4,765 bytes ... August 09, 2015, at 08:50 AM
  • Main Δ ... 6 bytes ... January 29, 2024, at 08:49 AM
  • PITS Δ ... 4,096 bytes ... December 19, 2022, at 11:19 AM
  • Pm Δ ... 119 bytes ... August 09, 2015, at 08:39 AM
  • PmCal Δ ... 161 bytes ... July 16, 2020, at 06:53 PM
  • PmWiki Δ ... 4,096 bytes ... October 03, 2022, at 05:33 AM
  • Skins Δ ... 143,360 bytes ... March 21, 2024, at 12:45 PM
  • Test Δ ... 8,192 bytes ... October 15, 2022, at 08:51 AM
  • TestProtected Δ ... 27 bytes ... June 06, 2016, at 08:54 PM
  • TestW7 Δ ... 4,096 bytes ... February 01, 2024, at 07:42 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: