Table of contents:
How to use toolbars to provide flexible, reusable template components which can be managed or configured via admin.
Screencast: Toolbar Managment on eZ publish administration to manage use toolbars using the toolbar management configurations.
The example uses eZ publish 3.4 as an example which is mostly applicable to the latest version of eZ publish.
How to read the settings in the toolbar.ini as interpreted by eZ publish. Examples how to create two toolbars by hand.
You depending on which ini file location your custom toolbar ini settings are placed determines how they are processed, in this order.
I recommend placing most tool bars in your user site's siteacess settings directory.
Example settings format key details
I tend to group my toolbar and toolbar item configuration settings together in groups for simple management.
Template, Settings, Warnings, Examples
Create template
#
Add container toolbar entry to parent template
#
Add container toolbar settings
#
Add container toolbar item settings
#
A note on variable scoping using includes vs toolbar settings parameters.
You can use this contribution from Kristian Hole in order to have a template that explains how to create a simple toolbar item:
Simple example + external references (Images)
Article provided by eZpedia
All text is available under the terms of the GNU Free Documentation License
Powered by eZ Publish 6.0.2stable
Hosted by USA eZ Publish Community Partner : Brookins Consulting