Closed (fixed)
Project:
Nice Menus
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
8 Mar 2010 at 11:00 UTC
Updated:
9 Nov 2010 at 04:10 UTC
Jump to comment: Most recent file
It's about time to look at upgrading to Drupal 7. We will be porting the 2.x version of the module, not the current stable 1.x, so part of the upgrade will also mean we need to fix the bugs in 2.x at the same time. Please do not add comments with +1 or "yeah, when will this be done?" to this issue. This issue for for discussion of the work *being done* and submitting patches.
| Comment | File | Size | Author |
|---|---|---|---|
| #15 | nice_menus-735848-15.patch | 6.23 KB | vordude |
| #12 | nice_menus-735848-12.patch | 5.34 KB | vordude |
| #2 | nice-menus-d7-2.patch | 13.56 KB | vordude |
| #1 | nice-menus-d7.patch | 6.56 KB | vordude |
Comments
Comment #1
vordude commentedSpent an hour or so hacking at a D7 port.
This is not stable--or even functional--but a start for making some of the basic api changes.
Hook Block was broken out, and a a db_query was modified to the new format.
I made a couple of paramaters in a couple of theme functions = '' so they would stop yelling at me. I haven't touched doing anything with the new theme system.
I also have not touched the new $ doesn't always necessarily mean jquery change yet.
Not sure if this is helpful, but here ya go:
Comment #2
vordude commentedYeah, ignore that first patch. :-)
Here's a better crack at it.
Admittedly, the theme functions have been hacked together into functionality. And could use some cleanup, and/or porting to the theme array magic that I understand comes with D7.
This is nearly functional...missing the api changes surrounding theme('menu_item_link', $menu_item['link'])
You'll note the Menu structure is being built minus that handy
<a href="node/1"></a>(and accompanying tags and classes).Comment #3
add1sun commentedAwesome! Thanks for the first crack at it. I'm hoping to get D6 v2 out the door soon and then branch it. Then we can put this work in HEAD and have a place to play in progress.
Comment #4
dave reidSubscribing... :)
Comment #5
Jeff Burnz commentedSub-scriben also :)
Comment #6
gordon commentedsubscribe
Comment #7
adiatisDrupal 7.0 beta 1 Released ==> Subscribe.
I can't wait to try this great module in 7 and give feedback ;-)
Comment #8
Sergey Naumov commentedSubscribing =)
Comment #9
uno commentedSub
Comment #10
add1sun commentedOK, I've branched the 6.x-2.x version of the code and opened HEAD up for D7. The patch above needs to be rerolled against the current HEAD. I'll commit it once that happens so continued dev on 7 can run against HEAD without getting bogged down in patch hell.
Comment #11
add1sun commentedFYI, I've committed a blind run of the the coder_upgrade changes to HEAD. It is not a working port but at least takes care of some of the basics from which we can build on. Please submit patches to get a working version for D7 based off of what is in HEAD.
Comment #12
vordude commentedHere's a functional, yet ugly patch, tested in the core theme, header "down mode" Firefox only.
The menu looks ugly by default, which will need work
But I'd like to know how functionality is working on this one.
Comment #13
scotwith1tsubscribe
Comment #14
scotwith1ti'm sure i'm not the only one with a bunch of generically titled "port to D7" issues in my queue. changing title so's i can tell which module's had activity!
Comment #15
vordude commentedSmall Changes to further the porting process.
Sets the default link color to blue (which used to come with garland, and white just didn't look right)
Also removed the BLOCK_NO_CACHE since it's out of D7
Comment #16
vordude commentedI'm going to commit this patch, since I've given it some simple smoke tests.
I'll roll it into an early release, so the barrier of entry to testing is much lower.
Cleanup and bug-fixes will definitely be necessary.
Comment #17
vordude commented2.0 BETA 1 has been tagged, and is available for download.
Please open separate issues for problems with the D7 version.