Pixelpost

Authentic Photoblog Flavour

TemplateTags /

<BROWSE_CATEGORIES_PAGED>

Tag Function:

  • Displays a drop-down list of all categories with paged archive addon support.

Main Usage:

  • Used within browse_template.html to dynamically recall and load a drop-down list of all categories with paged archive addon support.

Examples:

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

<BROWSE_CATEGORIES_PAGED>

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=&amp;pagenum=1'>All (200)</option>
  <option value='index.php?x=browse&amp;category=1&amp;pagenum=1'>Nikon (163)</option>
  <option value='index.php?x=browse&amp;category=2&amp;pagenum=1'>Nature (37)</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";

PagedArchiveAddonTags
<< <BROWSE_MONTHLY_ARCHIVE_AS_LINK_PAGED> | TemplateTags | <THUMBNAILS_WHOLE_PAGED> >>


Page last modified on November 06, 2007, at 01:42 PM