Hi,

I am new to using Drupal and currently installed the drupal 5 official release. I've been programming for years but i am really stumped and wondering if any 1 can help .

I am trying to create a drop down menu system like the nice_menus module but for Drupal 5 ? !

Has any 1 had any luck or any CSS they could show me to that integrates with version 5.

thanks for the help.

Mark

Comments

catch’s picture

nice_menus hasn't been fullyupdated yet but that doesn't mean it won't be. I've used it and found it works pretty well. Rolling your own solution might well take as long as it would for the module to be updated if you don't have css or php experience - and unless you did it well it'll be less flexible.

You could see if the HEAD (from here: http://drupal.org/node/43047/release) version will work with 5.0 (worth backing up your database before you do this, especially if you're new to drupal/CMSes).

update it yourself using these instructions: http://drupal.org/node/64279

or post an issue to the nice_menus project http://drupal.org/project/issues/nice_menus

drupalworld’s picture

Hello there,
I am also very interested in a nice_menus version for drupal 5... unfortunately, I am also a newbie here and would not know how to test whether Head can work on drupal 5 or not...
Willing to pay if someone can help :)
Many thanks,
Drupalworld

SubWolf’s picture

The HEAD version appears to have the same datestamp as the dev releases, so won't be much luck there. Gonna peruse the code tomorrow and see how difficult it'll be to bring it up to speed.

---
Santa Cruz Tech | "... Just Below My Skin, I'm Screamin'..."

drupalworld’s picture

Many Thanks Subwolf :)
DrupalWorld

SubWolf’s picture

I've managed to get the module script converted, and it 'works' on my V5.x dev copy.

However, all the menus are appearing, at once, guessing the CSS paths may need some modification.

First test patch: http://chilleddreams.com/d5/modules/nice_menus/nice_menus.patch
Info file for V5.x: http://chilleddreams.com/d5/modules/nice_menus/nice_menus.info

Test bundle: http://chilleddreams.com/d5-dev/nice_menus-5.x-contrib-dev.tar.gz

I don't have time to fiddle with the CSS now, but if anyone else fancies jumping in to help... ?

---
Santa Cruz Tech | "... Just Below My Skin, I'm Screamin'..."

drupalworld’s picture

Many thanks subwolf, it works!
I think the reason why all the menus appeared at once when you tried is because you selected the expended option.
Anyway, your patch works really well on my drupal 5.1. CSS needs a little work perhaps to improve the presentation of the menus, but that all :)
Drupalworld
I posted a new topic related to nice menu module to see if more people are interested in this.
Thanks again
DrupalWorld

SubWolf’s picture

Nice, looks like someone may have beaten me to it though, didn't even see it.

---
Santa Cruz Tech | "... Just Below My Skin, I'm Screamin'..."

beatnikdude’s picture

Thanks SubWolf, works like a charm.

themeaty’s picture

Hi I installed nice_menus and patch on Drupal 5.1 and everything seems to be working except the menu is fully expanded. I can't find the expanded option you speak of anywhere in the configuration settings.
Thanks

drupalworld’s picture

Hello there,
nice menu doesn't control expand / not expand. For this you need to go to the general menu settings (admin>>menu). For each menu with babies, you can choose whether it is expended or not. That worked for me.
Drupalworld

peterthevicar’s picture

Thanks SubWolf, that works for me with my trial site on drupal 5.1 and firefox
You're a star
Peter

SubWolf’s picture

No problem!

Be nice to get this, or the other version that was done, into the module proper so it can be released as a V5.1 edition, if it hasn't already.

---
Santa Cruz Tech | "... Just Below My Skin, I'm Screamin'..."

cudaboy_71’s picture

Looks like we're back to the same old problems with IE for windows again, though.

in IE(win) none of the "LI" tags pop down. this was a problem in 4.6

http://drupal.org/node/43899

maybe just me, though. anyone else?

drupalworld’s picture

It works great with firefox and even IE7... but the other day I checked with IE6 and 5... and I realised it doesn't work... same problem as you mention cudaboy_71
Not sure what to do, I am not a programmer (:
Drupalworld

lightweight’s picture

Hi all,

I, too, was frustrated by the fact that this very nice module hasn't been upgraded to Drupal 5.x... so I took the code that I found here and made a few minor tweaks to get it to work with 5.1 including rewriting the javascript to work with IE < 7. I'll see if I can attach an archive of the updated files.

So, please test it if you like and let me know if you find any major problems... At this point, I know that it doesn't use the normal [if lte IE 6] stuff as I couldn't get it to work in conjunction with drupal_add_js... if anybody knows a clean way to achieve that, then let me know!

Cheers,

Dave

drupalworld’s picture

Hello there,
I will sure test it but where did you attach the patch?
Many thanks,
Drupalworld

lightweight’s picture

hi Drupalworld,

Sorry - took me a while to come up with a way to make an archive available (you can't attach .tgz files to issues). You should be able to find it here:
http://egressive.com/drupal_files/nice_menus-egressive20070304.tgz
Let me know if you have any problems or suggestions!
Cheers,

Dave

drupalworld’s picture

Hi there, thanks for the patch, haven't had access to IE6 the last couple of days. I will try to test it tonight and report here the results.
Many thanks,
Drupalworld

drupalworld’s picture

Hello there,
I tested ( finally) your patch.
Works perfectly on firefox and IE 7
Works as well for IE6 but only for the first sub-menus. Sub-sub menu doesn't open.
I don't have sub sub menus on my site, so this patch is working great for me.
Many many thanks :)
Drupalworld

melchoir’s picture

It's working ok, I'm having problems with the menu being fully expanded on some themes (it's not the expanded setting, as it's off), but I'm kind of pressed for time and don't care to find out why. So I simply found a theme that works with it and I'll use that til I have time.
At that thanks for the work on this! Ta.

febbraro’s picture

I have installed this on an upgraded site from 4.7 to 5.1. It works great in IE7 and Firefox 2.

In IE6 The 3rd level menus do not slide out. Any clue where to look when trying to fix this?

emdalton’s picture

Is it more likely to be a CSS thing or a Javascript thing, anyone know?

Never mind, it's a Javascript thing, see the new js file at http://drupal.org/node/113294

mennonot’s picture

Does anyone have a sense of when an "official" patched version of this module will be posted on the nice menus project page?

amoncur’s picture

Hi,

I'm a newcomer to Drupal. I have installed the bundle created by subwolf (http://chilleddreams.com/d5-dev/nice_menus-5.x-contrib-dev.tar.gz) in my site. I am using the Garland theme. There is a menu item in my Navigation panel called "Post a Story". The Navigation panel is set to the left sidebar block. I have enabled the Nice Menus module and have also set it to be in the left sidebar block. I then configure the Nice Menus as follows:

Source Menu Tree: Post A Story
Menu Style: Right

Does it matter what Block Title and Menu Name I give it?

At any rate, I want to add 2 sub menus and then 4 sub sub menus in each of the 2 sub menus, but I don't see anywhere to enter the text/links. When I save all the configurations and place my cursor over the "Post A Story" text in the left sidebar block (Navigation panel), nothing happens.

Can someone tell me what I'm doing wrong? Where do I enter the text/links for my pull-down menu?

Thanks,

Aaron

drupalworld’s picture

Go to the menu page, click on create a new menu item,
Enter the title and the url of the menu, and choose "Post a story" as the root of the new menu you are creating.
This should work I think :)
Drupalworld

amoncur’s picture

Okay, I did as drupalworld advised, created a new menu, entered the title and url, and chose "Post A Story" as the root of the new menu. Initially nothing happened. Then I went into my Blocks and flip-flopped the Nice Menu 1 and Nice Menu 2. Originally Nice Menu 1 was set to the left side bar and Nice Menu 2 was set to none. Now that I have Nice Menu 2 set to left sidebar, and Nice Menu 1 set to non, the pulldown menus have appeared. However, now I have a duplicated set of navigation menus; one that has a tree structure (as it was before I modified anything) and the new one with pulldown (or in this case pull to the right) menus. Also, now when I try to configure either of the 2 Nice Menus in the Blocks page, I get the following error.

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, support@supportwebsite.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

I have tried changing the settings (left sidebar vs. none) and I still get the same message. Also, I've noticed that the drop down menus tend to disappear occasionally. For instance, I will place my cursor over one of the sub menus and it will simply disappear.

So, a few questions...

1) Why can't I configure my Nice Menu anymore?
2) Why does only Nice Menu 2 work and not Nice Menu 1?
3) Why do I now have 2 sets of navigation menus? And how do I get rid of the non-Nice Menus one?
4) Any suggestions regarding how to deal with the disappearing drop down menus?
5) Has anyone else found this version (5.x.1.x) to be this buggy, or am I just 100% inept? (could certainly be the latter)

Thanks for your help!

drupalworld’s picture

I have had loads of problems with the nice menu module and have encountered the same internal error as you did... then it went away... I dont really know why.
To get rid of the non nice menu, just disable that particular menu block.
To fix the internal error, you could try ( this is what I did and it worked) to go to nice menu admin where they ask you how many nice menu you want and click on submit again...
However, sometimes I still cannot configure nice menus and I dont know why... just temporarly ...
disappearing drop menus? no clues here I am afraid...
This module hasn't been properly upgraded or updated for a long while now... that's probably why it is so buggy (:
Drupalworld

hello12345’s picture

Hey guys...

I have Drupal 5.1 and the new version of Nice_menus module installed.

The menu looks great except that there is a small block of space to the left of the menu which is pushing it.

Here is what it looks like:

http://www.chazcast.com/images/spaceproblem.jpg

There is a blue bar behind the actual menu that's why this space is blue.

Here is the nice menu .css file:

http://www.chazcast.com/images/nice_menus.css

Any help is appreciated

Thanks.

Mike

kylehase’s picture

Mike,

I'm using the Barlow theme and I also saw that. I added this to my
themes/barlow/typography.css
to remove the space.

#header .block ul {
padding: 0;
}

Hope this helps.

kylehase’s picture

This module is able to change CSS styles based on the "menuparent" class added to all menus with children.

Is there a way to change styles based on the menu level regardless of the menu having children? I want all my top level menus to have a certain style and sub menus to have a different style.

dzynz’s picture

just specify in the css:

ul {style}
ul ul {style} <-------an unordered list within an unordered list
or
li ul {style} <------ unordered list within a list item

this logic works for everything. just keep in mind that ul {style} effects all unordered lists, including children, so you need to place ul ul {style} after it, an override the settings you don't want it to inherit.

I may just write a drop down tutorial soon. Nice Menus is cool, but not really necessary. I've been working with a variant of sonofsuckerfish for a while now, and have it working pretty perfectly in my drupal installation, even over flash elements in ie6.

kylehase’s picture

Thanks dzynz. I'm pretty new to CSS but I realize it's something I really should be learning.

emdalton’s picture

I just picked up CSS Mastery: Advanced Web Standards Solutions
by Andy Budd, Simon Collison, and Cameron Moll, and I've found it very helpful, particularly for theming Nice Menus. Before that I'd been using a lot of trial and error to try to figure out what the existing CSS was doing. Maybe others can recommend CSS references that they've found helpful.

rashmid’s picture

Hi,
I am using the bluebreeze theme along with the nice menus module. But this menu is not working properly with this theme. I have gone through the suggestions given on this http://drupal.org/node/109985?destination=node%2F109985 link. But still not able to get a proper display. I want to know if there is any other module that I can use for this purpose. I want drop down menus in place of the primary links.

add1sun’s picture

Hey folks, I've taken up co-maintainer rights on nice_menus to get this thing moving. Please go to the project page and help with testing/patching. Add any problems you encounter with the 5-dev version to the issue queue to help keep track of things and on my radar. You will see that there are already a few patches in the queue that need to be looked at and tested. I didn't even know this thread existed until today.

Thanks!

Drupalize.Me, The best Drupal training, available all the time, anywhere!

Mguel’s picture

Thanks a lot add1sun. I'll try to help with some testing. Currently I'm using a patched version which is not working fine in IE6.

Cheers,
Mguel

kylehase’s picture

Does anyone know of a way to use the userID variable in a nicemenu? I'm trying to make nice menu links for "my blog", "my home", "my gallery" etc. and I believe I need to append the UserID to the path. According to this thread, http://drupal.org/node/87815, it can be done by PHP but PHP is not an input option for the menu module.

bakyildiz’s picture

try the dropdown menu Yahoo YUI (Menu) http://drupal.org/project/yui

zoon_unit’s picture

Go to Roopletheme.com and check out their new GPL theme Beale Street. It has suckerfish menus embedded in the theme. Even if you don't want to use the theme, you can learn much by seeing how they have embedded the menus.