[development] converting a module from Drupal 5 to Drupal 6
earnie at users.sourceforge.net
Wed Jan 21 14:57:19 UTC 2009
Quoting "sivaji j.g" <sivaji2009 at gmail.com>:
> On Wed, Jan 21, 2009 at 11:56 AM, Sheryl (Permutations Software)
> <sheryl at permutations.com> ...r how I need to rewrite them for
>> Drupal 6. Any guidance you can give me would be greatly appreciated!
> Did you try this ?
A start in the right direction. It doesn't do everything because it
just doesn't know how. For instance you'll need to watch out for those
``if ($may_cache)'' and remove them even thought the deadwood removed
the parameter in the goodwood version.
Coder is a lint helper to give you suggested ideas of how well your
code is formatted to the code standard for that Drupal version. Your
module will look prettier but it doesn't help the functionality.
You will also want http://drupal.org/project/schema on the version 5
side of your conversion if you have tables. The project/schema module
can help on the version 6 side if you're developing a new table in say
phpMyAdmin and now need to create the schema array for your .install
Make a Drupal difference and review core patches.
-- http://for-my-kids.com/ -- http://give-me-an-offer.com/
More information about the development