Possible to incorporate Milonic into Drupal?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
mfindlay
Super Advanced
Super Advanced
Posts: 38
Joined: Mon Jun 28, 2004 5:00 pm

Possible to incorporate Milonic into Drupal?

Post by mfindlay »

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?
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Possible to incorporate Milonic into Drupal?

Post by Ruth »

Hi,

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

Ruth
mfindlay
Super Advanced
Super Advanced
Posts: 38
Joined: Mon Jun 28, 2004 5:00 pm

Re: Possible to incorporate Milonic into Drupal?

Post by mfindlay »

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
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Possible to incorporate Milonic into Drupal?

Post by Ruth »

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
Post Reply