Box pages

Example

<vte:box module="box_pages">
    <vte:params>
	<vte:param name="cache" value="1" />
	<vte:param name="search_cid" value="{CURRENT_CATEGORY.id}" />
    </vte:params>
    <vte:template>
        <ul>
            <vte:foreach item="page" from="{page_list}">
                <vte:if test="!{page.hide}">
                    <li>
                        <vte:if test="{page.redirect}">
                            <a href="{page.redirect}"><vte:value select="{page.title}" /></a>
                            <vte:else>
                                <a href="{page.get_href}"><vte:value select="{page.title}" /></a>
                            </vte:else>
                        </vte:if>
                    </li>
                </vte:if>
            </vte:foreach>
        </ul>
    </vte:template>
</vte:box>

Assignments:

Parameter name Value Description
page_list array each item is an Pages object
 
devdoc/modules/box_pages.txt · Last modified: 2008/11/12 09:48 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