Tuesday 19 September 2006 1:14:18 am
Hi,
I did a menu: http://www.vistacite.fr/AAAAAA/index.php/plain/ which use this javascript function:
<script language="javascript" type="text/JavaScript">
fixerSecteurCourant("secteur{$node.object.section_id}");
</script>
This function is used to keep the menu open when we click on a link. In the link above, if you click on "Images/Image 1", Image 1 is displayed and the menu is closed. It should stay open (which is the case if I remove caches).
I read (and re-read) the cache-block doc:
http://ez.no/doc/ez_publish/technical_manual/3_8/reference/template_functions/miscellaneous/cache_block and tested many things (as the cache-block parameters of the pagelayout.tpl) but the best result I get is that $node.object.section_id works 2 hours. Could you explain me what parameter I have to use ? Ragards 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
|