Recent Changes - Search:

PITS main list

edit sidebar

Main sidebar

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: 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 ... October 21, 2005, at 10:27 AM
  • Cookbook Δ ... 106,496 bytes ... May 09, 2013, at 02:04 PM
  • Cookbook-V1 Δ ... 12,288 bytes ... October 15, 2012, at 02:38 AM
  • 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 Δ ... 4,096 bytes ... April 22, 2013, at 10:43 PM
  • PITS Δ ... 4,096 bytes ... December 24, 2012, at 03:23 AM
  • Pm Δ ... 4,096 bytes ... January 14, 2008, at 09:52 AM
  • PmCal Δ ... 4,096 bytes ... May 04, 2010, at 03:41 PM
  • PmWiki Δ ... 4,096 bytes ... May 03, 2013, at 02:47 PM
  • Skins Δ ... 106,496 bytes ... May 09, 2013, at 02:04 PM
  • Stories-XOver Δ ... 4,096 bytes ... September 01, 2006, at 10:47 AM
  • Test Δ ... 4,096 bytes ... January 12, 2013, at 05:33 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


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

  • ext= -jpg

VKrishn January 13, 2013, at 03:46 AM


References:

Edit - History - Print - Recent Changes - Search
Page last modified on January 13, 2013, at 03:46 AM