Please, update it to Drupal 6, I need it to modify 300 posts.

Thank you in advance

Comments

Roi Danton’s picture

Status: Active » Needs work
StatusFileSize
new6.52 KB

I've created a quick & dirty patch so at least hook_menu() and the FAPI lines are working with D6 and the module recognizes the correct CCK include files. Unfortunately when copying a textfield to another textfield I still get an error:
Fatal error: Unsupported operand types in /drupal/includes/common.inc on line 1546
Have no time to look deeper into the code currently. However I think this patch helps for the first steps since it does solve some annoying upgrade work.

Roi Danton’s picture

Status: Needs work » Needs review
StatusFileSize
new16.77 KB

New patch, solving the bug mentioned in #1. Furthermore I did a bit code cleanup so the code meets the Drupal coding standards a little better than the original one of HEAD.
@Developer: When applying the patch and upgrading to D6 then please create a 5.x branch and 6.x branch instead of using HEAD. So it is easier to maintain code for several versions of Drupal. :)

Feel free to test. Patch works for me well for textfields with D6. Thx for this great module!

Roi Danton’s picture

StatusFileSize
new17.61 KB

Fixed minor typos in comments and in code so code review doesn't produce hundreds of warnings.