attachment-options

{attachment-options}

Plugin: Scaffolding Plugin

Creates a set of list options linking to the attachments on the specified content the filter options.

Description

Must be contained inside a list-data macro.

Usage

{attachment-options:content=[content name]|include=<regular expression>|exclude=<regular expression>}

Parameters

Name Required Default Description
content
If specified, the page or other content the files are attached to. Defaults to the current page.
include
Only file names which match the specified regular expression will be displayed. E.g. ".*gif" for all GIF files. (Since Scaffolding 2.3-dr7)
exclude
Excludes any file names which match the specified regular expression. (Since Scaffolding 2.3-dr7)

Labels

macro macro Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.