ez.no / exponential / documentation / customization / components / toolbars / adding new tools to toolbar list
These documentation pages are no longer maintained. Please visit the new documentation site.
In Exponential 3.4 standard release, the following tools are available in the toolbar list:
To add a new tool to toolbar list, you need to:
[Tool] AvailableToolArray[] AvailableToolArray[]=basket AvailableToolArray[]=calendar AvailableToolArray[]=link AvailableToolArray[]=login AvailableToolArray[]=searchbox AvailableToolArray[]=node_list AvailableToolArray[]=users AvailableToolArray[]=notification AvailableToolArray[]=best_seller AvailableToolArray[]=create_object AvailableToolArray[]=notification AvailableToolArray[]=drafts
... AvailableToolArray[]=drafts AvailableToolArray[]=mytool
[Tool_mytool] parameter1=default_value_of_this_parameter parameter2=default_value_of_this_parameter ...
If the tool is only used in top or bottom toolbar, only line view of the tool template is needed. If the tool is only used in right toolbar, then full view of the tool template should be added. In our example, the new created tool name is 'mytool', therefore a template file named mytool.tpl should be added under design/your_site_design/templates/toolbar/full/ or design/your_site_design/templates/toolbar/line/, depending on its useness. In this template, $parameter1 and $parameter2 will be available.
You can add a thumbnail image to the tool by creating a image mytool.png ( for right toolbar ) or mytool_line.png ( for top and bottom toolbar ) and put it under folder design/standard/images/toolbar/.
log in or create a user account to comment.
Comments
Creating Tools with Node Browsers, Etc.
Eric Weik
Tuesday 14 December 2004 8:26:09 pm
[Tool_exampletool]
parameter1_node=
parameter2_classidentifier=
parameter3_classidentifiers=
parameter4_subtree=
parameter5_check=yes
*As of 3.5rc2, if you do not set parameter5_check to default as either yes or no, it will not render as a checkbox. *
Presumably you can add more types (i.e. "textarea", etc.) by overriding /design/toolbar.tpl for your admin siteaccess. I personally have not had any success with this method, but it is likely due to my own relative inexperience with the override system.
Here's a solution
Hans Melis
Friday 11 June 2004 6:44:52 pm
Basically, all you need to do is download a javascript file, call it in your pagelayout.tpl (with IE-specific if statements that appear as comments for other browsers) and PNGs will be displayed correctly.
We've started using it, and it works.
--
Hans
Yes, but badly
Paul Borgermans
Friday 11 June 2004 11:59:06 am
Sad thing
http://dean.edwards.name/IE7/ should solve this, but I did not try it yet.
-paul
IE?
Paul Forsyth
Friday 11 June 2004 11:04:38 am
paul