Closed (fixed)
Project:
JQuery menu
Version:
7.x-1.0
Component:
Code
Priority:
Critical
Category:
Task
Assigned:
Reporter:
Created:
12 Dec 2010 at 23:43 UTC
Updated:
13 Mar 2012 at 16:33 UTC
Jump to comment: Most recent, Most recent file
What are the plans/timeline for a Drupal 7 release of this great module?
| Comment | File | Size | Author |
|---|---|---|---|
| #43 | jquerymenu.zip | 18.96 KB | pat redmond |
| #43 | jquerymenu_996444_43.patch | 28.52 KB | pat redmond |
| #42 | jquerymenu_D7_41.patch | 27.76 KB | pat redmond |
| #42 | jQuerymenu.zip | 18.33 KB | pat redmond |
| #41 | jquerymenu.zip | 25.64 KB | jonathan_hunt |
Comments
Comment #1
Anonymous (not verified) commented+1
Comment #2
kmajzlik commented+1
Comment #3
xacto commentedComment #4
xacto commented+1
Comment #5
xacto commentedYou know we may want to also add the issue pointed out in this link as well as an official port.
Auto-expand parent menu item(s) for active menu item..
http://drupal.org/node/344916
BTW thanks Aaron for this awesome module and your effort!!!
Can anyone help with this port to D7. :-)
Comment #6
xacto commentedComment #7
izkreny commented+1
Comment #8
v.zhakov commentedsubscribe
Comment #9
Scondo commented+1
Comment #10
lpalgarvio commented+1!
Comment #11
bazzly commentedSo is there any movement on this? Out of curiosity....whats involved in porting...or how do you do it?
Comment #12
drupa11y commentedA D7 Version would be great.
Currently I use "DHTML menu" which also works fine.
Comment #13
Stefan Haas commentedsubscribe
Comment #14
PixelClever commentedThere will be a D7 release sometime soon. Right now I am overloaded with building a house, a new baby and my paid work. I encourage anyone who is interested in speeding things up to post patches or full versions. This is on my radar, but it may take a bit.
Comment #15
perhenrik commentedsubscribe
Comment #16
lagpro commentedHi,
Here is a start to converting this module to release 7. I am not getting the jquery menus to activate and it may be a problem with the block/menu setup code (not sure). I chased it for a day but unfortunately need to move on with my project. The one thing that I was looking at (and probably should be done) is to compartmentalize the jquery/css code into a javascript drupal library so it can be made more modular. The idea would be to permit other jquery plugins to be added to bring in more interesting behaviors and expose the lib to the rest of the system - one of the nice changes in 7. Here is a start.
Comment #17
xacto commentedThanks!! Can Aaron review and maybe start a dev branch?
Comment #18
PixelClever commentedThank you lagpro, I appreciate this. I will try to work on this this weekend and get a dev release up.
Comment #19
rosk0subscribing
Comment #20
likewhoa commentedsubscribing
Comment #21
vthirteen commentedsubscribe
Comment #22
v.zhakov commentedlagpro, thanks for your work!
I install jQuery_menu 7.x (#16) to my site.
I see settings page, mark one menu to create Jquery_menu. But on block page I doesn't see any blocks, which must be created with jQuery_menu module. Can anybody helps me?
Comment #23
v.zhakov commentedhook_block in jquerymenu.module (attachment #16) must be changed (drupal 7.x) to hook_block_info() & hook_block_view($delta = 0) for working module better
Comment #24
pat redmond commentedI've submitted a D7 version for Aaron to have a look at - it is my first D6->D7 conversion so I think it's best for someone to look at it before I put it up here.
Thanks to lagpro for the above version (which I wish I had seen when I started this)!. I used your js files because I couldn't get it to work myself. The reason it wasn't displaying for you is that hook_block() has been replaced with hook_block_info() and hook_block_view() in D7.
I have also fixed a few of the 'unknown variable' errors.
This is a direct port - I haven't added any features. But I will look at the issues list, and see whether I am up to doing any more work on the module.
Comment #25
pat redmond commentedHere is the code for the D7 port. Let me know what you think - it is the first time I've tried anything like this.
Comment #26
gitesh.koli commentedComment #27
gitesh.koli commentedPat,
I have used your module and I had to fix the update function for D7.
Please update your version of the module.
Comment #28
gitesh.koli commentedIgnore this patch file
Comment #29
gitesh.koli commentedAttached is the patch for fixing the install file.
Comment #30
akalsey commentedUpdated the upload from #25 to fix the menu paths. putting things directly in the config menu is now discouraged, so I put this under the config/user-interface menu
Comment #31
pat redmond commentedThanks gitesh.koli and akalsey!
Here is an updated zip file - in case anyone else out there isn't sure what to do with the patch files...
How do we get this listed as an official module?
Comment #32
summit commentedHi,
Installed the module under #31. But I do not get the menu settings which should show underr:
admin/user-interface/jquerymenu.
SO I can't get the module functioning yet..
Greetings, Martijn
Comment #33
pat redmond commentedSummit: since changing the code, my menu settings are appearing directly under admin/config
Check there, and let me know what you see.
Comment #34
summit commentedHi, Nope, no jquery under user-interface menu under admin/config.
Testing version 1.1 from http://drupal.org/node/996444#comment-5459662
Disabling/deinstalling and installing again didn't help also, sorry.
What could be the problem please?
greetings, Martijn
Comment #35
jonathan_hunt commentedAttached is an extensive update to the module bundled in #31:
- passes coder style review
- remove redundant menu declarations
- changed variable, function names to be more consistent with module namespace
Please can we get a 7.x version in git?
Comment #36
summit commentedHi,
Using this new module #35, I got the admin screen! Enabling a jQuery Menu blocks I got:
EDIT: Besides this error, the menu itself works!
Thanks for going into this!
Greetings, Martijn
Comment #37
jonathan_hunt commentedThanks. Looks like I missed a variable name change. Improved complete 7.x module directory attached.
Comment #38
Garret Huntress commentedThe module in #37 works well for the most part. However, I get the following notice for every single link in an enabled jquery menu block when "Display Edit Link" is disabled:
Notice: Undefined variable: editpath in recursive_link_creator() (line 263 of /var/www/Drupal7/sites/all/modules/jquerymenu/jquerymenu.module).
Comment #39
jonathan_hunt commentedFixed notice reported in #38. Specified version as 7.x-1.0-alpha1
Comment #40
Garret Huntress commentedConfirming #39 fixes the disabling of "Display Edit Link". Many thanks!
Comment #41
jonathan_hunt commentedUpdated to 7.x-1.0-alpha2: Add theme callback theme_jquerymenu_listitem(). Harmonize theme callback naming. Harmonize use of $variables as theme parameter. Assign active class to homepage. Reorder some functions.
I don't think this module is handling active path correctly. Haven't had a chance to investigate yet.
Comment #42
pat redmond commentedI was getting a few errors, so I think I've fixed them. Jonathan, can you check my diff file? I'm not sure whether the translations have come across.
Definitely not handling active path correctly - it hasn't for a while. I've been meaning to have a look at that too.
Comment #43
pat redmond commentedOK, so I think I've fixed the issue of opening the active path. The problem is that it is opening all menu items which are in the current path. For example if the path is www.example.com/what/comes/next then menu items which point to www.example.com/what will be opened, even if they aren't in the same branch of the menu.
This appears to be an issue which existed in the D6 version of the module too.
Comment #44
jonathan_hunt commentedThe code in #43 appears to be working, but it looks like you have DOS line endings (at least in the zip file), see https://drupal.org/node/707484
Comment #45
pat redmond commentedSuper - thanks. For some reason every time I quit Notepad++ it changes back to DOS line endings, and tabs instead of spacing. Driving me nuts...
Comment #46
pat redmond commentedOk, we now have the D7 release.
If there are further issues, please create a new issue and we can address it.
Comment #47
Anonymous (not verified) commentedThanks very much for the work done on this!