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 Δ ... 147,456 bytes ... December 09, 2024, at 08:29 AM
  • 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 Δ ... 26 bytes ... December 28, 2024, at 12:14 PM
  • PITS Δ ... 4,096 bytes ... May 17, 2024, at 05:23 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 Δ ... 147,456 bytes ... December 09, 2024, at 08:29 AM
  • Test Δ ... 8,192 bytes ... September 23, 2024, at 04:53 PM
  • TestProtected Δ ... 27 bytes ... June 06, 2016, at 08:54 PM
  • TestW7 Δ ... 4,096 bytes ... December 19, 2024, at 08:29 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: