tool_bar

Summary

Outputs the template for a toolbar.

Usage

{tool_bar name=name view=view [ parameter=value [...] ]}

Parameters

NameTypeDescriptionRequired
name string The name of the toolbar. Yes.
view string The view mode that should be used. Yes.
parameter any Parameter(s) that will be passed to the included template. No.

Description

This function can be used to display a toolbar template. The name parameter must be used to specify the name of the toolbar that should be show. The default/standard names are "top", "right" and "bottom" - custom names are also allowed. The "view" parameter can be used to specify a desired view mode ("line", "full", etc.). All other parameters (of any type) will be passed on and thus become available as template variables in the included template.

Examples

Example 1

{tool_bar name='top' view='line'}

Shows a toolbar called "top" using the "line" view mode.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.