Recent Changes - Search:

PmWiki

pmwiki.org

00665

Summary: Allow customization of attachlist output
Created: 2006-02-11 11:01
Status: Open
Category: Feature
From: Pm, Simon
Assigned:
Priority: 55554 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 ... October 21, 2005, at 10:27 AM
  • Cookbook Δ ... 69,632 bytes ... October 12, 2008, at 02:40 PM
  • Cookbook-V1 Δ ... 12,288 bytes ... March 01, 2007, at 02:20 PM
  • EmacsModes Δ ... 4,096 bytes ... September 09, 2007, at 07:05 PM
  • lock.gif Δ ... 549 bytes ... June 05, 2007, at 02:16 PM
  • lock.png Δ ... 4,765 bytes ... June 05, 2007, at 01:50 PM
  • Main Δ ... 12,288 bytes ... September 30, 2008, at 03:09 AM
  • PITS Δ ... 4,096 bytes ... July 29, 2008, at 11:24 AM
  • Pm Δ ... 4,096 bytes ... January 14, 2008, at 09:52 AM
  • PmCal Δ ... 4,096 bytes ... May 16, 2007, at 02:26 AM
  • PmWiki Δ ... 4,096 bytes ... September 22, 2008, at 11:52 AM
  • Stories-XOver Δ ... 4,096 bytes ... September 01, 2006, at 10:47 AM
  • Test Δ ... 4,096 bytes ... July 30, 2008, at 04:49 PM
(: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


References:

Edit - History - Print - Recent Changes - Search
Page last modified on November 26, 2007, at 05:32 PM