Jump to main content Jump to doc navigation

albumTpl

Other versions: 3.x — Found a problem? Please edit this page or report an issue.

GalleryItem'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

  1. Gallery.Gallery
    1. Gallery.Gallery.containerTpl
    2. Gallery.Gallery.thumbTpl
  2. Gallery.GalleryAlbums
    1. Gallery.GalleryAlbums.containerTpl
    2. Gallery.GalleryAlbums.rowTpl
  3. Gallery.GalleryItem
    1. Gallery.GalleryItem.albumTpl
    2. Gallery.GalleryItem.GalleryItemPagination
    3. Gallery.GalleryItem.tagTpl
    4. Gallery.GalleryItem.tpl
  4. Gallery.Plugins
    1. Gallery.Plugins.Galleriffic
    2. Gallery.Plugins.Slimbox
  5. Gallery.Roadmap
  6. Gallery.Setting Up Your Gallery
  7. Gallery.Example1
  8. Gallery.Setting Up the GalleryItem TV