Wednesday 24 May 2006 1:12:20 am
Hi Kristof, Thanks.
In design/base/templates/menu/double_top.tpl I: * added this first line:
1 {let id_node_root=ezini('NodeSettings','RootNode','content.ini')}
* changed:
2 {let root_node=fetch( content, node, hash( node_id, 2 ) )}
to
2 {let root_node=fetch( content, node, hash( node_id, $id_node_root ) )}
and
8 {let menuitems=fetch( content, list, hash( parent_node_id, 2,
to
8 {let menuitems=fetch( content, list, hash( parent_node_id, $id_node_root,
This works for the topmenu (first level) but submenu items are same than first level items (http://www.linuxorable.net/ez_test3.7.5/index.php/prive/) Could you explain me how does work "var=xxx" in this line, for example:
13 {section var=menu loop=$menuitems}
Another thing: in pagelayout.tpl, it seems that the top menu is included with:
75 {menu name=TopMenu}
but I don't understand how it works. 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
|