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.

eZ debug

Timing: Jan 18 2025 04:25:11
Script start
Timing: Jan 18 2025 04:25:11
Module start 'layout'
Timing: Jan 18 2025 04:25:11
Module start 'content'
Timing: Jan 18 2025 04:25:12
Module end 'content'
Timing: Jan 18 2025 04:25:12
Script end

Main resources:

Total runtime0.8796 sec
Peak memory usage4,096.0000 KB
Database Queries64

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 589.5391152.6406
Module start 'layout' 0.00580.0029 742.179739.4844
Module start 'content' 0.00870.8692 781.6641564.4844
Module end 'content' 0.87790.0016 1,346.148416.1250
Script end 0.8795  1,362.2734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.4314160.0002
Check MTime0.00160.1871160.0001
Mysql Total
Database connection0.00060.070310.0006
Mysqli_queries0.820293.2464640.0128
Looping result0.00070.0840620.0000
Template Total0.849896.620.4249
Template load0.00220.251720.0011
Template processing0.847596.357320.4238
Template load and register function0.00010.012010.0001
states
state_id_array0.00100.113910.0010
state_identifier_array0.00100.113420.0005
Override
Cache load0.00190.2175320.0001
Sytem overhead
Fetch class attribute can translate value0.00050.054020.0002
Fetch class attribute name0.00160.180760.0003
XML
Image XML parsing0.00070.078320.0003
class_abstraction
Instantiating content class attribute0.00000.002170.0000
General
dbfile0.00080.0918160.0001
String conversion0.00000.001140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 22
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs