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.
You should get it (full of example data) from Milonic along with two others that do the work. You would need to upload them into the right part of your design folder eg: extension/ezwebin/design/ezwebin/javascript/
You must be logged in to post messages in this topic!