Table of Contents

<vte:box>

Used to call a module in VTE.

Attributes

module [string] – vivvo module name

params [array] - optional compound representation of parameters (as associative array)

Children

<vte:params> - optional

<vte:template> - required

If both params attribute and <vte:params> node are specified, values defined in <vte:param> nodes will overwrite those from params attribute in case of name collision.

Example

<vte:box module="box_sections">
    <vte:params>
        <vte:param name="id" value="0" />
    </vte:params>
    <vte:template>
        <ul>
            <vte:foreach item="category" from="{categories}">
                <vte:if test="{category.view_subcat}">
                    <li>
                        <a href="{category.get_href}">
                            <vte:value select="{category.category_name}" />
                        </a>
                    </li>
                </vte:if>
            </vte:foreach>
        </ul>
    </vte:template>
</vte:box>
 
devdoc/vte/box.txt · Last modified: 2009/05/15 05:08 by boccio
 
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