[Pmwiki-users] Re: Re: Attach (was Re: spaces in uploaded files)

Christian Ridderström chr
Mon May 10 13:00:37 CDT 2004


On Mon, 10 May 2004, Steven Leite wrote:

> could be [[filelist]], or [[showfiles]], but to be consistent with
> PmWiki's existing markup, I think I would leave it as [[attachlist:]]
> for now.  But i agree, attachlist isn't very intuitive and should be
> changed some time down the road.

There's nothing preventing us from allowing both for now. The extension 
already allows you to use:

	[[$Attachlist]]		(this actually uses the original code)
	[[Attachlist:]]
	[[attachlist:]]

so some new alternatives are:

	[[filelist:]]
	[[list-files:]]
	[[list-dir:]]
	[[list-attachments:]]

does any of these sound good? We shouldn't forget that in addition to the
path, you can also specify a sort-order, e.g.:

	[[list-dir:someDir/aSubDir N=A]]

(the sort-order argument should perhaps be 'A=N' instead, can't 
remember, i.e. that syntax is pretty bad :-(

/Christian

-- 
Christian Ridderstr?m                           http://www.md.kth.se/~chr





More information about the pmwiki-users mailing list