how to activate Right toolbar in ezwebin extention

Author Message

rim rima

Thursday 30 December 2010 3:18:39 pm

Hi all,

I am new at ez publish . i'am traying to show a calender in my website using the right toolbar, but i can't make it work from the administration pannel ! design >> right, i antanciate all the field but whene i click on applay nothing happend.

i founded that the right toolbar is not activated in the eswebin that i m using, i tried to put this lines in the page_mainarea.pl :

{section show=ezini( 'Toolbar_right', 'Tool', 'toolbar.ini' )|count}
     {tool_bar name=right view=full}
{/section}
 but it doesn't work

anu one can help me plzz 

Nicolas Pastorino

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

rim rima

Wednesday 05 January 2011 1:35:09 am

Hi Nicolas, thank you for your replay

I did like you told me and i had to ad these lines in the page_mainarea.pl so it work:

{section show=ezini( 'Toolbar_right', 'Tool', 'toolbar.ini' )|count}
     {tool_bar name=right view=full}
{/section}

Now that i can see the things that i put in the right toolbar(basket, login, node list) , 
i get them in the bottom of the page at left.Correct me if i am wrong but is not supposed
 to be at right?
or iz it just because i am insering the lines on the wrong template 
or i had to do some changing in the css files ?

waiting for your advices ..

Nicolas Pastorino

Wednesday 05 January 2011 6:02:55 am

Hi !

Good to hear you got them displayed on your page. It is now "only" about designing the markup+css correctly so that it looks nice ! The feature itself is in place, and you seem to have understood it correctly. I am not myself an expert in design, but grabbing bits of code here and there in ezwebin's design should help you.

Cheers,

--
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

rim rima

Thursday 06 January 2011 9:44:14 am

Hi Nicolas

Thank you a lot for replaying again and for your help..

i will let you know if things get wrong :)

Cheers,

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.