Pixelpost

Authentic Photoblog Flavour

TemplateTags /

<TAG_LINKS_AS_LIST>

Tag Function:

  • Displays a text link list of all tags.

Main Usage:

  • Used within browse_template.html to dynamically recall and load a text link list of all tags.

Examples:

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

<TAG_LINKS_AS_LIST>

Sample Output:

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

<div id="tag_cloud">
  <a href="index.php?x=browse&amp;tag=nikon" class="tags10">Nikon&nbsp;(163)</a>
  <a href="index.php?x=browse&amp;tag=nature" class="tags04">Nature&nbsp;(37)</a>
</div>

CSS Class:

Using these ids allow you to determine the look of the tags list:

#tag_cloud { /* id for tag cloud */

}

/* Example Tag Cloud CSS Code: */
.tags00
{
        font-size: 8px !important;
}

.tags01
{
        font-size: 10px !important;
}

.tags02
{
        font-size: 12px !important;
}

.tags03
{
        font-size: 14px !important;
}

.tags04
{
        font-size: 16px !important;
}

.tags05
{
        font-size: 18px !important;
}

.tags06
{
        font-size: 20px !important;
}

.tags07
{
        font-size: 22px !important;
}

.tags08
{
        font-size: 24px !important;
}

.tags09
{
        font-size: 26px !important;
}

.tags10
{
        font-size: 28px !important;
}
 

Language Variable:

The output of the word "Tags" is definable via your language file:

lang-english.php
$lang_tags  =  "Tags:<br/>";

ArchiveRelatedTags
<< <BROWSE_CHECKBOXLIST> | TemplateTags | <FOCUS_TAG_LINKS_AS_LIST> >>


Page last modified on December 28, 2007, at 04:39 PM