Forums / Setup & design / how to activate Right toolbar in ezwebin extention

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,

eZ debug

Timing: Jan 18 2025 01:13:33
Script start
Timing: Jan 18 2025 01:13:33
Module start 'content'
Timing: Jan 18 2025 01:13:34
Module end 'content'
Timing: Jan 18 2025 01:13:34
Script end

Main resources:

Total runtime1.0685 sec
Peak memory usage4,096.0000 KB
Database Queries201

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0071 587.8594180.8203
Module start 'content' 0.00720.9045 768.6797569.5781
Module end 'content' 0.91170.1567 1,338.2578337.3672
Script end 1.0684  1,675.6250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00450.4205210.0002
Check MTime0.00140.1343210.0001
Mysql Total
Database connection0.00080.077910.0008
Mysqli_queries0.988392.50102010.0049
Looping result0.00210.19861990.0000
Template Total1.037397.120.5186
Template load0.00200.183320.0010
Template processing1.035396.895220.5176
Template load and register function0.00010.014010.0001
states
state_id_array0.00080.073710.0008
state_identifier_array0.00130.119520.0006
Override
Cache load0.00170.1578320.0001
Sytem overhead
Fetch class attribute can translate value0.00090.086230.0003
Fetch class attribute name0.00100.096360.0002
XML
Image XML parsing0.00090.084130.0003
class_abstraction
Instantiating content class attribute0.00000.001470.0000
General
dbfile0.00380.3522270.0001
String conversion0.00000.000730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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