Forums / Install & configuration / ezwebin and right tools

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