| 
                                                             Monday 22 October 2007 2:13:30 pm 
                                                            
                                                                
                                                                 Hi, 
In my pagelayout.tpl I include 2 menus. A topmenu:         
<div id="cadreGeneralMenuHorizontal">{* POUR CENTRER LE MENU AVEC IE ! *}
    {cache-block keys=array($uri_string, $current_user.role_id_list|implode( ',' ),$current_user.limited_assignment_value_list|implode( ',' ))}
        {include uri="design:menu/menu_horizontal.tpl"}
    {/cache-block}
</div>
    and a flat_left_menu:         
    {cache-block keys=array($uri_string, $current_user.role_id_list|implode( ',' ), $current_user.limited_assignment_value_list|implode( ',' ))}
    <hr class="hide" />
    <div id="columns">
        {* menu name=LeftMenu *}
        {include uri="design:menu/flat_left.tpl"}
        <hr class="hide" />
    {/cache-block}
    With the horizontal menu, if I hide an object and refresh the page to the frontend, the object disappears in the menu. 
What I really don't understand is why I can't get the same behavior with the flat_left menu ? 
I have to wait 2 hours (default cache_block time setting) before the object is removed in the menu. Even I add:         
{set-block scope=root variable=cache_ttl}0{/set-block}
    
at the very top of my design/cfdt/templates/menu/flat_left.tpl, the object stay visible 2 hours before being removed in the menu. 
	 I specify that the flat_left menu include section is not under an other section or anything else. 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
                                                                 
                                                                                                                     |