Box_sections is a module that manages navigation of Vivvo website.
<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>
<vte:if test="{category.subcategories}">
<vte:box module="box_sections">
<vte:params>
<vte:param name="id" value="{category.id}" />
<vte:param name="prefix" value="" />
</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="{prefix}" />
<vte:value select="{category.category_name}" />
</a>
<vte:if test="{category.subcategories}">
<vte:load module="box_sections" id="{category.id}" template_string="{template_string}" prefix="›{prefix}" />
</vte:if>
</li>
</vte:if>
</vte:foreach>
</ul>
</vte:template>
</vte:box>
</vte:if>
</li>
</vte:if>
</vte:foreach>
</ul>
</vte:template>
</vte:box>
| Parameter name | Value | Description |
| prefix | string | Prefix to pass trough for recursion |
| Parameter name | Value | Description |
| search_ids | string | comma separated category ids |
| id | integer | category id |
Assignments:
| Parameter name | Value | Description |
| categories | array | each item is an Categories object |
| prefix | string | pass trough prefix parameter |
| id | integer | pass trough category id parameter |
| template_string | string | Box template for recursion |