Pixelpost

Authentic Photoblog Flavour

TemplateTags /

<CATEGORY_LINKS_AS_LIST_PAGED>

Tag Function:

  • Displays a text link list of all categories with corresponding page numbers.

Main Usage:

  • Used within browse_template.html to dynamically recall and display a text link list of all categories with corresponding page numbers.

Examples:

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

<CATEGORY_LINKS_AS_LIST_PAGED>

Sample Output:

Using the code above will generate the following when the template is run:

<ul id="taglist">
  <li><a href="index.php?x=browse&amp;pagenum=1">All (200)</a></li>
  <li><a href="index.php?x=browse&amp;category=1&amp;pagenum=1">Nikon (163)</a></li>
  <li><a href="index.php?x=browse&amp;category=2&amp;pagenum=1">Nature (37)</a></li>
</ul>

Sample Outcome:

Using the output above will generate the following when the template is run:

All (200)
Nikon (163)
Nature (37)

CSS Class:

Using this id allows you to determine the look of the paged archive category list:

#taglist { /* id for  paged archive category list */

}

Language Variable:

The output of this template tag is definable via your language file:

lang-english.php
$lang_browse_all  =  "All";

PagedArchiveAddonTags
<< <IMAGE_CATEGORY_PAGED> | TemplateTags | <SITE_BROWSELINK_PAGED> >>


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