Pixelpost

Authentic Photoblog Flavour

TemplateTags /

<BROWSE_MONTHLY_ARCHIVE_AS_LINK_PAGED>

Tag Function:

  • Displays a link list of images sorted by month.

Main Usage:

  • Used within browse_template.html to dynamically recall and load a link list of all images sorted by month.

Examples:

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

<BROWSE_MONTHLY_ARCHIVE_AS_LINK_PAGED>

Sample Output:

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

<ul id="monthlist">
<li><a href='index.php?x=browse&amp;pagenum=1'>All (200)</a></li>
<li><a href='index.php?x=browse&amp;archivedate=2007-06&amp;monthname=June,%202007&amp;pagenum=1'>June 2007 (56)</a></li>
<li><a href='index.php?x=browse&amp;archivedate=2007-05&amp;monthname=May,%202007&amp;pagenum=1'>May 2007 (97)</a></li>
<li><a href='index.php?x=browse&amp;archivedate=2007-04&amp;monthname=April,%202007&amp;pagenum=1'>April 2007 (47)</a></li>
</ul>

CSS Class:

Using this id allows you to determine the look of the month list:

#monthlist { /* id for paged archive addon month list */

}

Language Variable:

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

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

PagedArchiveAddonTags
<< <BROWSE_MONTHLY_ARCHIVE_PAGED> | TemplateTags | <BROWSE_CATEGORIES_PAGED> >>


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