Box topics

This module was added in Vivvo 4.1.5

Example

<vte:box module="box_topics">
    <vte:params>
        <vte:param name="search_limit" value="20" />
    </vte:params>
    <vte:template>
        <vte:if test="{topic_list}">
            <vte:foreach item="topic" from="{topic_list}">
                <a href="{topic.get_href}"><vte:value select="{topic.get_name}" /></a>
            </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 search only topics which have tags set on this article

Assignments:

Parameter name Value Description
topic_list array each item is a TagsGroups object
TITLE string pass trough title parameter
BOX_ID string pass trough box_id parameter
 
devdoc/modules/box_topics.txt · Last modified: 2009/04/28 11:48 by krcko
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki