ezwebin and right tools

Author Message

Pascal France

Friday 15 January 2010 4:07:06 am

Hi,

By default, the ezwebin extension does not allows to add tools on the right.
To achieve this, I added this code in the template:
extension/ezwebin/design/ezwebin/templates/page_mainarea.tpl
[code]
{section show=ezini( 'Toolbar_right', 'Tool', 'toolbar.ini' )|count}
   <div id="rightmenu">
     <div id="rightmenu-design">
       <h3 class="hide">Right menu</h3>
       <div id="toolbar-right">
          <div class="toolbar-design">
             {tool_bar name=right view=full}
          </div>{* id="toolbar-design" *}
        </div>{* id="toolbar-right" *}
      </div>{* id="rightmenu-design" *}
   </div>{* id="rightmenu" *}
{/section}
[/code]
which is the code we can find in the default template pagelayout.tpl which comes with the "plain site" installation.
This works fine except I have to clear the caches each time I add/remove a tool.
I tried several syntaxes cache-block to frame my code but I get no result.
Has anybody ever added tools with ezwebin?

Pascal 

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

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 01:58:28
Script start
Timing: Jan 18 2025 01:58:28
Module start 'layout'
Timing: Jan 18 2025 01:58:28
Module start 'content'
Timing: Jan 18 2025 01:58:29
Module end 'content'
Timing: Jan 18 2025 01:58:29
Script end

Main resources:

Total runtime0.7403 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 589.0469152.6250
Module start 'layout' 0.00680.0028 741.671939.4453
Module start 'content' 0.00960.7290 781.1172434.8750
Module end 'content' 0.73860.0017 1,215.99228.1719
Script end 0.7403  1,224.1641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4756160.0002
Check MTime0.00150.1963160.0001
Mysql Total
Database connection0.00080.109710.0008
Mysqli_queries0.698694.3611460.0152
Looping result0.00050.0734440.0000
Template Total0.706995.520.3534
Template load0.00230.307520.0011
Template processing0.704695.172420.3523
Template load and register function0.00020.027710.0002
states
state_id_array0.00100.133210.0010
state_identifier_array0.00080.114820.0004
Override
Cache load0.00190.2508260.0001
Sytem overhead
Fetch class attribute can translate value0.00060.078510.0006
Fetch class attribute name0.00100.138310.0010
XML
Image XML parsing0.00020.020410.0002
class_abstraction
Instantiating content class attribute0.00000.000810.0000
General
dbfile0.00070.0935100.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs