lb:loop_categories

returns a list for all existing categories

This is a handy feature: Create a customazible list of all categories.

Usage

<lb:loop_categories> Some Code </lb:loop_categories>

Example

<dl>
<lb:loop_categories sortby="name">
<dd><lb:link_category><lb:categoryname></lb:link_category></dd>
<dt><lb:categorydescription /></dt>
</lb:loop_categories>
</dl>

Return

All categories as a clickable definition list

Attributes

sortby

Defines the table-field used for sorting the list.
Values: id or name or description
Examples: <lb:loop_category sortby="name">
Default: name

order

Are we sorting the postings in ascending or descending order?
Values: asc or desc
Example: <lb:loop_categories order="asc">  (shows categories in ascending order)
Default: asc