Saturday 01 January 2011 6:07:02 am
Hi Rim, and welcome to the eZ Community ! Have you checked the toolbar.ini file itself ? This is pretty much where you can control the settings for your front-end siteaccess' toolbars (the siteaccess using ezwebin as main design). There should be an override for this file under <ezp_root>/settings/siteaccess/<front-end-siteaccess-name>/ called toolbar.ini.append.php. If not, you can simply create it by copying <ezp_root>/settings/toolbar.ini into this location, and rename it by appending '.append.php' to its original name. Also, add the following tags at the beginning and end of file :
<?php /*
// contents
*/ ?> Building off of your template code example above, here is a toolbar configuration that should work (this is the content of your siteaccess' toolbar.ini.append.php file ) :
<?php /*
[Toolbar_right]
Tool[]
Tool[]=searchbox
*/ ?> Once cleared the INI caches (you can easily do this from the back office, right-column toolbar), and, you should see something new in your front-end page. Last point, as a general rule of thumb, i recommend you turn your eZ Publish into development mode when developing (this should not be done on a production platform). More on this here : http://share.ez.no/forums/developer/feedback-form-template/comment64619 Let us know how things go !
--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board
eZ Publish Community on twitter: http://twitter.com/ezcommunity
t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye
|