albumTpl
Last updated Mar 6th, 2021 | Page history | Improve this page | Report an issue
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$301 per month—let's make that $500!
Learn moreGalleryItem's albumTpl Chunk¶
This chunk is used for each Album associated with the Item pulled by the GalleryItem snippet, via the &albumTpl property.
Default Value¶
<span class="gal-item-album"><a href="[[~[[*id]]]]?[[+albumRequestVar]]=[[+id]]">[[+name]]</a></span>
Available Placeholders¶
Name | Description |
---|---|
id | The ID of the Album. |
name | The name of the Album. |
parent | The parent ID of the Album. Defaults to 0. |
description | The description of the Album. |
createdon | A timestamp of when the Album was created. |
createdby | The ID of the User that created this Album. |
rank | The 'rank', or order, in which this Album is stored as. |
active | Whether or not this Album is marked "Active". Can be 1 or 0. |
prominent | Whether or not this Album is marked "Prominent". Can be 1 or 0. |
albumRequestVar | The albumRequestVar parameter passed to the GalleryItem snippet. Defaults to galAlbum. |
See Also¶
- Gallery.Gallery
- Gallery.GalleryAlbums
- Gallery.GalleryItem
- Gallery.Plugins
- Gallery.Setting Up Your Gallery
- Gallery.Example1
- Gallery.Setting Up the GalleryItem TV
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$301 per month—let's make that $500!
Learn more