| Thursday 30 November 2006 1:08:10 am 
                                                                 Hi Vicente, i am not sure if i still understand what you need. You need to show the toolbar-right only on certain nodes? If so, just add conditions for setting the maincontent style and to show the toolbar. 
Having this example structure:
 - Home (node 2)
 - Who we are (node 50)
 - News (node 51)
 - Contact (node 52)
 This example will show the toolbar-right if the node being viewed is not the homepage (node 2) or the news folder (node 50):  
pagelayout.tpl:where it shows the toolbar-right:
 
{section show=ezini( 'Toolbar_right', 'Tool', 'toolbar.ini' )|count}
  {if and( is_set($module_result.node_id), 
      and( ne( $module_result.node_id,2), 
             ne($module_result.node_id,50))} {* <-- node check *}
    <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" *}
  {/if}
{/section}
pagelayout.tpl:where it loads the maincontent style:
 
{cache-block}
{let maincontentstyle='maincontent-bothmenus'}
  
{section show=eq(ezini('SelectedMenu','LeftMenu','menu.ini'),'')}
    {set maincontentstyle='maincontent-noleftmenu'}
{/section}
{section show=ezini('Toolbar_right','Tool','toolbar.ini')|count|eq(0)} {* <-- Enters here as there is a toolbar-right defined *}
    {section show=$maincontentstyle|eq('maincontent-noleftmenu')}
        {set maincontentstyle='maincontent-nomenus'}
    {section-else}
        {set maincontentstyle='maincontent-norightmenu'}
    {/section}
{/section}
{if and( is_set($module_result.node_id),
     or( eq($module_result.node_id,2), 
          eq($module_result.node_id,50)))} {* <-- node check *}
    {set maincontentstyle='maincontent-norightmenu'} 
{/if}
<div id="maincontent" class="{$maincontentstyle}">
    <div id="fix">
    <div id="maincontent-design">
{/let}
{/cache-block}
Cheers. Microblau SL http://www.microblau.net
 |