Thursday 11 May 2006 6:45:46 am
You can make your own toolbar. Suppose it is called mytool: In settings/override/toolbar.ini.apppend(.php): [Tool]
AvailableToolArray[]=mytool
[Tool_mytool]
Create design/[yourdesign]/templates/toolbar/full/mytool.tpl and design/[yourdesign]/templates/toolbar/line/mytool.tpl with the desired template code. Under [Tool_mytool] you can have as many toolbar configuration options as you want, the value specified for it in the INI file will be the option's title in the interface of the setup/toolbar view. The option's value entered in the interface will be available in the toolbar's template with the same name. You can take the INI settings and templates of other toolbars as an example.
independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org
|