Forums / Setup & design / Toolbar custom

Toolbar custom

Author Message

Vicente Olivan

Tuesday 21 March 2006 8:44:46 am

I am trying create to toolbar with different ítems by depth and section.
Some idea or documentation?
Thanks

Łukasz Serwatka

Thursday 23 March 2006 12:52:31 am

The best source of information is toolbar.ini file. You can find there ready examples of toolbars. Your custom toolbar template should be placed in design/(yourdesign)/templates/toolbar/full/your_toolbar_tpl or in design/(yourdesign)/templates/toolbar/line/your_toolbar_tpl depends on view.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Vicente Olivan

Thursday 23 March 2006 10:13:53 am

Thanks Lukasz

But I believe that I have not explained myself well. I do not want to make toolbar new, but one tool to use in toolbars existing.

My doubt is that parameters use in new tool able to select multiple nodes of different section and depth.


[Toolbar]
AvailableToolBarArray[]
AvailableToolBarArray[]=top
AvailableToolBarArray[]=right
AvailableToolBarArray[]=bottom

[Tool]
AvailableToolArray[]
AvailableToolArray[]=basket
AvailableToolArray[]=calendar
...
AvailableToolArray[]=my_tool

...


[Tool_my_tool]
??

[Tool_my_tool_description]
??

Some suggestion?, thanks