Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Would it help if I (attempted) to convert the forms to the 4.7.x API?
Lines 47, 48, 49, 91, 92, 111, 224, 226,295, 297 in
nodeperm_role.module,v 1.4 2005/02/27 10:23:28 jvandyk
or would it be better to work on the 'package' version, with the 'inherited' patch applied?
If you would like to take a shot at it, please feel free to do so. I am working on my node_access module now. This is proving to be a bit painful due to the changes in Form API flow (not just function calls).
I figure it will be Friday/Monday before I could get to Nodeperm_role.
You may wish to look at the other modules I am porting to 4.7. Some of these help with workflows a lot! The new actions module I wrote allows for a simple hierarchical transition from various states, saves a lot of effort in defining transitions.
I have done the donkey work of converting form_xxx to the new API.
It fell over on a few things, notably node_list(), but a readaround indicated a solution, node_get_types(), hope it's the right one
I haven't tested it yet, just got as far as the /admin/settings/nodeperm_role page.
As I'm not familiar with how it *should* work, I'll have to proceed carefully
I probably need to set up wokflow and actions first before I can do much more
Comments
Comment #1
robb commentedYes, working on migration over the next couple of weeks.
Comment #2
hutch commentedWould it help if I (attempted) to convert the forms to the 4.7.x API?
Lines 47, 48, 49, 91, 92, 111, 224, 226,295, 297 in
nodeperm_role.module,v 1.4 2005/02/27 10:23:28 jvandyk
or would it be better to work on the 'package' version, with the 'inherited' patch applied?
Comment #3
robb commentedThanks for the offer to help!
If you would like to take a shot at it, please feel free to do so. I am working on my node_access module now. This is proving to be a bit painful due to the changes in Form API flow (not just function calls).
I figure it will be Friday/Monday before I could get to Nodeperm_role.
Comment #4
hutch commentedOK, I'll make a start tomorrow. It's a good way to get familiar with the API and do something useful at the same time ;-)
Anyway, I've got a job for it on a multilingual, multi-role site using workflow and actions, hope it works!
Comment #5
robb commentedYou may wish to look at the other modules I am porting to 4.7. Some of these help with workflows a lot! The new actions module I wrote allows for a simple hierarchical transition from various states, saves a lot of effort in defining transitions.
http://www.lab.canfield.com/projects
Comment #6
hutch commentedI have done the donkey work of converting form_xxx to the new API.
It fell over on a few things, notably node_list(), but a readaround indicated a solution, node_get_types(), hope it's the right one
I haven't tested it yet, just got as far as the /admin/settings/nodeperm_role page.
As I'm not familiar with how it *should* work, I'll have to proceed carefully
I probably need to set up wokflow and actions first before I can do much more
HTH
Comment #7
robb commentedCOOL. I will look this over in the next few days.
Comment #8
robb commented4.7.x version is available. See project page for details.
Limitations: Lacks support for Workflow module action at this time
Comment #9
robb commentedClosing this topic. Any bug/reature reports should go into a new thread.