Pixelpost

Authentic Photoblog Flavour

TemplateTags /

TemplateTags.FOCUS_TAG_LINKS_AS_LIST_PAGED History

Hide minor edits - Show changes to markup

November 06, 2007, at 01:44 PM by austriaka -
Changed line 39 from:
to:
November 06, 2007, at 12:30 PM by austriaka -
Deleted lines 19-21:
  <div id="tag_cloud_header">
  Tags:<br/>
  </div>
Deleted lines 27-29:
  1. tag_cloud_header { /* id for tag cloud header */

}

Changed line 34 from:

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

to:

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

Deleted line 38:
November 06, 2007, at 12:19 PM by austriaka -
Added lines 1-46:

<FOCUS_TAG_LINKS_AS_LIST_PAGED>

Tag Function:

  • Displays a text link list of all tags like <TAG_LINKS_AS_LIST_PAGED> but with classes in reversed order. Supports paged archive addon.

Main Usage:

  • Used within browse_template.html to dynamically recall and load a text link list of all tags with class sizes in reversed order (often used tags are smaller than rarely used ones) and paged archive addon support.

Examples:

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

(:source lang=HTML4STRICT -link :)
 
<FOCUS_TAG_LINKS_AS_LIST_PAGED>

Sample Output:

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

(:source lang=HTML4STRICT -link :)
<div id="tag_cloud">
  <div id="tag_cloud_header">
  Tags:<br/>
  </div>
  <a href="index.php?x=browse&amp;tag=nikon&amp;pagenum=1" class="tags10">Nikon&nbsp;(5)</a>
  <a href="index.php?x=browse&amp;tag=nature&amp;pagenum=1" class="tags04">Nature&nbsp;(37)</a>
</div>

CSS Class:

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

(:source lang=CSS -link :)
#tag_cloud_header { /* id for tag cloud header */

}
#tag_cloud { /* id for tag cloud */

}

Language Variable:

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

(:source lang=PHP header=lang-english.php :)
 
$lang_tags  =  "Tags:<br/>";

«TAG_LINKS_AS_LIST_PAGED|Paged Archive Addon Tags|TAG_IMG_LIST_PAGED»


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