Retired Documentation: You are using the documentation for version 1.7.3 which was retired in 2013. Go here for the latest version documentation or check here for your available upgrades to the latest version.
Gallery Category List Tag
This Gallery Category List Tag allows you to display a list of all your categories. This type of list can be useful for creating navigation to each category page, as shown in this example:
Category "Jump" Navigation
Here is an example showing how you might use the cateogry list tag to create navigation:
<form>
<select name="URL" onChange="window.location=this.options[this.selectedIndex].value">
<option value=" ">Category Jump Navigation</option>
{exp:gallery:category_list gallery="gallery"}
<option value="{category_path='gallery/category'} ">{category_name}</option>
{/exp:gallery:category_list}
</select>
</form>
Parameters
gallery=
gallery="my_gallery"
This parameter is required. The name (short name) of the gallery for which you wish to display the categories.
Variables
category_name
{category_name}
The name of the category.
category_description
{category_description}
The category description.
category_id
{category_id}
The ID associated with the category.
category_path=
<a href="{category_path='gallery/category'}">{category_name}</a>
The URL to the category.