<BROWSE_CATEGORIES>
Tag Function:
- Displays a drop-down list of all categories.
Main Usage:
- Used within browse_template.html to dynamically recall and load a drop-down list of all categories.
Examples:
In your browse template, you can use the tag like this:
Sample Output:
Using the code above will generate the following when the template is run:
<select name="browse" onchange="self.location.href=this.options[this.selectedIndex].value;">
<option value="">Select Category</option>
<option value="index.php?x=browse&category=">All</option>
<option value="index.php?x=browse&category=1">Default</option>
<option value="index.php?x=browse&category=3">Nikon</option>
<option value="index.php?x=browse&category=2">Nature</option>
</select>
Language Variable:
The output of this template tag is definable via your language file:
lang-english.php
$lang_browse_select_category =
"Select Category";
$lang_browse_all =
"All";
ArchiveRelatedTags
<< <THUMBNAILS> | TemplateTags | <CATEGORY_LINKS_AS_LIST> >>