I'm willing to start a brief summary of how to create Drupal modules for Drupal 6.x to follow the ones listed in Creating modules - tutorials. This would generally follow the structure of the Drupal 5.x series, but target Drupal 6.x.
Any thoughts?
I'm willing to start a brief summary of how to create Drupal modules for Drupal 6.x to follow the ones listed in Creating modules - tutorials. This would generally follow the structure of the Drupal 5.x series, but target Drupal 6.x.
Any thoughts?
Comments
Comment #1
webchickI'm not sure what to say, other than "HUGE +1" and "go for it!" :)
Comment #2
theborg commentedGreat!! Following 5.x structure is a good start although I'd begin with the differences between 5.x and 6, is what I'd look first to see if my modules are going to be compatible.
UPDATED: Info on converting modules: http://drupal.org/node/114774
Comment #3
robloachThe collaboration of this series will be on the Drupal Dojo Docs project. Thanks to Senpai for setting this up. I'll be putting together the first few articles in the next few days.
Comment #4
robloachMade some progress with it. Filled in the majority of the pages as well as put in some place holders for the ones missing.
If you guys have any ideas on what we could write to introduce something new about Drupal 6 in chapter 11, please let me know! Schema API?
Comment #5
theborg commentedI would say that this is more than some progress, good! I'll go through all the chapters to test the whole thing.
Comment #6
robloachAnyone willing to review it? Although I've ported it all, it most definitely needs a good review. It would also be neat to write about the Schema API for chapter 11, but I can't think of any good examples of how it would integrate with the "onthisdate" module.
Comment #7
litwol commentedit seems that your pages do not handle proper code example highlighting/formatting....
also i couldnt find any mention about 'core' tag in the .info file, is that optional/required? without saying core= 6.x in d6 system your module will be impossible to turn on.. so i'd say that is pretty required, i could be wrong though.
Comment #8
robloachHey, thanks for the review!
When deployed on Drupal.org, the code will be handled correctly. This is an issue with Drupal Dojo Doc's input formats. If you login and edit the page, you'll see that the code is formatted correctly.
Good idea! I'll add that in.
Comment #9
add1sun commentedHey Rob, I am thinking we should move these pages into the d.o handbook at this point. Aside from the dismantling of dd.org I think that having the pages in the handbook would get more eyes on them to help polish them up. If you feel that they are not "done enough" for prime time we can always add a disclaimer at the top that they are not complete yet and encourage people to add comments with corrections and additions.
Comment #10
robloachHeya, all looks good to port over to Drupal.org, minus the 11th chapter (quick and easy site customization), which I don't think should be in the series anyway. I've put a note in that page so that we remember when porting it over. All text is clean, and should just require a straight copy and paste.
What's on there is a straight port to Drupal 6. If I had more time for it, I would've suggested a complete re-write, covering more relevant topics for Drupal 6 (including the Schema API and more information on the Form API). The tutorial covers topics that would've been of interest with Drupal <4.7, but that doesn't argue the fact that it still stands as a good starting point for beginners.
Thanks a lot!
Comment #11
add1sun commentedOk, these pages have been added to the handbook here: http://drupal.org/node/206753 with Rob Loach as the author. Thanks for getting this stuff done!
Comment #12
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.