Table of Contents

Box tags

Example

<vte:box module="box_tags">
    <vte:params>
        <vte:param name="search_limit" value="20" />
        <vte:param name="cache" value="1" />
    </vte:params>
    <vte:template>
        <vte:if test="{tag_list}">
            <vte:foreach item = "tag" from = "{tag_list}">
                <vte:if test="{tag.name} != ''">
                    <a style="font-size:{tag.get_fontsize}px;" href="{tag.get_href}"><vte:value select="{tag.name}" /></a>
                </vte:if>
            </vte:foreach>
        </vte:if>
    </vte:template>
</vte:box>

Box parameters

Parameter name Value Description
title string custom title for box, available in template via {TITLE}
box_id string custom html id for box, available in template via {BOX_ID}

Search parameters

Parameter name Value Description
limit integer max number of tags to retrieve
offset integer query offset, 0 based
search_article_id integer filter tags for article
search_starting_with string tags staring with phrase (uses LIKE 'xxx%' SQL statement)
The following parameters were added in Vivvo 4.1.5
search_topic_id string comma separated topic ids (this parameter must be used in conjuction with search_article_id)

Assignments:

Parameter name Value Description
tag_list array each item is an Tags/ArticlesTags object
TITLE string pass trough title parameter
BOX_ID string pass trough box_id parameter