linklist
The linklist tag is a single or a container tag which is used to produce a list of links from the predefined list created on the Links tab.
If used as a container, it must be specified as an opening and closing pair of tags, like this:
<txp:linklist>
...contained statements...
</txp:linklist>
attributes
category="unset"
author="unset"
realname="unset"
sort="linksort asc"
limit="0" (integer)
offset="0" (integer)
pageby="unset"
form="plainlinks"
auto_detect="category, author"
presentation
label="unset"
labeltag="unset"
break="unset"
wraptag="unset"
class="linklist"
genealogy
Version 4.3.0
Version 4.0.7
Version 4.0.6
List of links from specified category
<txp:linklist form="Links" category="general" limit="10" sort="linksort" wraptag="p" />
Links as a selectable ordered list
This example uses the displayed page’s category as the criterion for choosing the linklist’s category.
<txp:if_category name="100">
<txp:linklist label="First Floor" category="First" wraptag="ol" break="li" />
</txp:if_category>
<txp:if_category name="200">
<txp:linklist label="Second Floor" category="Second" wraptag="ol" break="li" />
</txp:if_category>
Other tags used: if_category
Links Form (default Links)
<txp:link /><br />
<txp:link_description /><br />
<txp:linkdesctitle />
The form is repeated for each link provided by linklist.