From Pixelpost

TemplateTags: BROWSE CATEGORIES

<BROWSE_CATEGORIES>

Tag Function:

Main Usage:

Examples:

In your browse template, you can use the tag like this:

<BROWSE_CATEGORIES>

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&amp;category=">All</option>
  <option value="index.php?x=browse&amp;category=1">Default</option>
  <option value="index.php?x=browse&amp;category=3">Nikon</option>
  <option value="index.php?x=browse&amp;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

Retrieved from http://www.pixelpost.org/docs/TemplateTags/BROWSE_CATEGORIES
Page last modified on November 06, 2007, at 01:31 PM