Incoporating a 3rd party menu system

Author Message

Kathy McKelvie

Thursday 14 May 2009 3:28:52 am

Hello,

The customer I am working for has purchased the Milonic Menu system. I need to implement this menu system into my existing ezpublish template.

The customer would like this horizontal dropdown menu before the pre-existing ezpublish menubar.

How do I do this?

Thanks

Jon Staines

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.

Kathy McKelvie

Friday 15 May 2009 7:31:42 am

Thank you for answering.

Where do I find this js file?

Jon Staines

Friday 15 May 2009 7:41:43 am

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/

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.