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.
User Contributed Notes
You must have an ExpressionEngine license and have attained a forum rank of "Lab Assistant" (100 posts) to contribute notes to the User Guide