Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:06

Possible to incorporate Milonic into Drupal?


Poster: mfindlay
Dated: Saturday May 1 2010 - 19:11:53 BST

Hi experts,

I am creating a Drupal theme from a pre-existing html file and so far so good, but the tricky part now is in incorporating a javascript flyout menu system into the top navigation.

I understand that Drupal has a built-in menu system and we may need to fall-back on that, but the javascript menu system we use (Milonic) is really good and it would be great to be able to integrate that into the Drupal theme.

The problem: How to dynamically set the javascript menu code based on whatever the current navigation is set up as?

The Milonic menu data file is a standalone file that contains the menu structure and is relatively straightforward. The trick will be to read the navigation menu from Drupal then write it out to the Milonic menu structure before the menu is rendered.

Is there a way to just read the Drupal database to fetch the top level nav, then for each top level nav, read the database again for each sublevel?

The current Drupal menu fetches return formatted <ul><li> links. It would be much preferable to be able to read the raw link titles and raw link addresses and then write out the necessary Milonic javascript.

Is this possible?

Re: Possible to incorporate Milonic into Drupal?


Poster: mfindlay
Dated: Monday May 3 2010 - 3:42:15 BST

Thanks Ruth,
Do you recall which site used it, or if there was a message thread in these forums on it? Any other pointers / references to it?

Thanks,
Mark

Re: Possible to incorporate Milonic into Drupal?


Poster: Ruth
Dated: Monday May 3 2010 - 1:27:30 BST

Hi,

As far as I know it can be used with drupal. I remember someone who did that some time ago.

Ruth

Re: Possible to incorporate Milonic into Drupal?


Poster: Ruth
Dated: Thursday May 6 2010 - 2:23:40 BST

Hi,

Here is a site that has the drupal and the milonic on it and below is the post. It is an old post but perhaps seeing the site you can figure out what was done http://www.zct.org/cms/

Post: viewtopic.php?f=10&t=9702&hilit=drupal

Let me know if you need more help. I'll try and help, but I don't use drupal or any other cms

Ruth