tqExpert Help


You use an albumsInGallery tqTag to enable a tqAdmin (with suitable permissions) to display a list of all albums in a given gallery.

albumsInGallery - Syntax

<tqtag name="albumsInGallery0type="albumsInGallerymaxItems="20" >

albumsInGallery - Parameters

Parameter Name Type Mandatory Strict | Transitional Case Sensitive Description
type Text + S + must be albumsInGallery
name Text + S + should be unique tqtag name in the template. no spaces/commas/single quote/double quotes allowed
maxItems Number - S   The max number of albums to display in a page

albumsInGallery - Local Variables

Name Type Size Description
addDate datetime   The datetime the section was created or last modified. can be formated using 2009-01-09 08:42:01df:[format]!
author text 1024 The ezadmin3 userID that created/uploaded the album. the syntax to get the author information is :[property name]! (e.g. :fName! )
description text 65535 The description of the album
galleryID int 12 Album's gallery database id
id int 12 Album's database id
image text 65535 Album image url
link text ~100 href url link to the album page 
title text 100 Album name

albumsInGallery - Examples

Example 1 - albumsInGallery example of use (based on template 271)
<tqtag type="albumsInGallerymaxItems="20" >
    <a href="@link@" ><img class="albumImg" src="@image@" alt="@title@" title="@title@" /></a>

albumsInGallery - tqOptions

Within the albumsInGallery tqtag you can use the following tqoptions: head, if, lastItemInRow, tail.

User Notes

  Add Note

Topic: albumsInGallery