Is there any plan to to D7 Port?

CommentFileSizeAuthor
#2 cck_required_by_role-7.x.tar_.gz7.71 KBdandrews

Comments

jdwfly’s picture

Thinking about it, but no plans to do it so far. Anyone is welcome to try their hand at it though.

dandrews’s picture

StatusFileSize
new7.71 KB

I have been working on "porting" this over to D7. It turned out to be easier to rewrite a large portion of the code due to CCK now being part of core d7. I tried to get a version working with D7 while keeping it as close as possible to the current version.

Major changes:
1. Field required by role settings (Which roles are exempt for certain field) Are now stored in the variable table and not the fields table.
2. Changed functions over to work with D7 field API
3. Passing variables such as "$form_name" is handled differently.

I have done some testing on this however I definitely wouldn't say its been thoroughly tested.

Feel free to make changes or leave me comments/criticisms.

lord_of_freaks’s picture

Hello

I had create a project called Required by role just for (at least) version 7, i don´t think it needs backwards compatibility because this great module (CCK Required by role)

I hope we can join forces.