Thursday 14 May 2009 8:54:34 am
If you hard coded the menu layout into the menu_data.js file it would just be a matter of having the 3 .js files loaded in the right order. You could just add the lines to the pagelayout.tpl template as you would a static HTML site. Of course, you wouldn't be able to alter the menu through the eZ interface. To do that you would probably have to move all the content from menu_data.js into an ez template and generate the menu creation parts through foreach loops similar to what goes on in the flat_top/left.tpl templates of the ezpublish menubar.
|