Pixelpost

Authentic Photoblog Flavour

TemplateTags /

<THUMBNAILS_PAGES_LINKS>

Tag Function:

  • Displays next, previous, and page number links for navigating the thumbnail pages.

Main Usage:

  • Used within browse_template.html to dynamically recall and load next, previous, and page number links for navigating the thumbnail pages.

Examples:

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

<THUMBNAILS_PAGES_LINKS>

Sample Output:

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

<span class="archive_active_page_number">
  <a href='index.php?x=browse&amp;category=&amp;pagenum=1'>1</a>
</span>
<span class="archive_page_number">
  <a href='index.php?x=browse&amp;category=&amp;pagenum=2'>2</a>
</span>
<span class="archive_page_number">
  <a href='index.php?x=browse&amp;category=&amp;pagenum=3'>3</a>
</span>
<a href='index.php?x=browse&amp;pagenum=2'>Next</a>

CSS Class:

Using these classes allow you to determine the look of the page numbers:

.archive_active_page_number { /* class for active page number */

}
.archive_page_number { /* class for inactive page numbers */

}

PagedArchiveAddonTags
<< <THUMBNAILS_WHOLE_PAGED> | TemplateTags | <ARCHIVE_PAGES_NUM> >>


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