Hello,
this is a really interesting and useful module. Are there any plans to port it to D7?
Thank you in advance
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | d7role_vocabulary-1315210-2.patch | 10.1 KB | bulldozer2003 |
Hello,
this is a really interesting and useful module. Are there any plans to port it to D7?
Thank you in advance
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | d7role_vocabulary-1315210-2.patch | 10.1 KB | bulldozer2003 |
Comments
Comment #1
joelstein commentedI don't have any immediate plans to upgrade it. But I'll review patches, and I'm available for sponsored upgrades.
Comment #2
bulldozer2003Here is a patch for the work I've done to update this module to Drupal 7.
The install functions are NOT working, you will need to manually create a taxonomy, then SET that as your sync taxonomy, then use the sync function. Not sure why, will keep troubleshooting.
Also, of the role alter functions, ONLY saving roles syncs that role with the taxonomy. I'd like everything to work, but getting the correct hook_form_alter options is the problem.
Please leave comments and what not, this is a pre-alpha off the skin of my teeth draft version.
Comment #3
bulldozer2003Actually, there still may be some errors in that patch, but nothing major, will update as I continue work.
Comment #4
bulldozer2003I've completed re-working this into D7 compatibility. All functions seem to working as they should. You can get the code from my sandbox here: https://drupal.org/sandbox/briankpeterson/1361734
Comment #5
joelstein commentedThanks! I'll take a look at it.
Comment #6
joelstein commentedGreat work! I changed a couple things (like using hook_permission instead of hook_perm, and moving the Role Vocabulary settings and sync form to be sub-menus of Taxonomy, plus a few other minor code cleanups). Otherwise, it looks great.
Committed to new 7.x-1.x branch.
https://drupal.org/commitlog/commit/22598/56a7e45b58c88321765e4a520bf370...
Please try it out, and if I don't hear of any problems in a few days, I'll release a stable version.
Comment #7
bulldozer2003Thanks. It was a learning experience :)
Comment #8
joelstein commentedDid you download the 7.x-1.x version and try it out?
Comment #9
bulldozer2003Yes, it appears stable.
Comment #10
joelstein commentedCool. I've released a stable 7.0 version.
Comment #11
bulldozer2003Thanks!