PHP

weatherfacti module updated for Drupal 6.14

Updated the weatherfacti module to work with Drupal 6.14.  Note that the registration with weather.com is no longer optional.  The source for the module that works with Drupal 6.x should be attached to this post.

The conversion was not quite as simple as expected due to some red herrings. Make sure that if installing for the first time on Ubuntu that you have php5-curl installed (apt-get install php5-curl) in addition to the LAMP stack.  

There is a good video tutorial on porting modules available here.  It makes use of the coder module which seems quite good, although perhaps a bit pedantic on white-space warnings.  The tutorial on writing a drupal 6 module is also useful and is available here.  The module from the tutorial does work in spite of some of the comments folks left there.

Upgrading drupal point releases

Upgrading drupal between major releases can be a bit of a problem as I found out when upgrading from v5.5 to v6.  However, upgrading point releases can be relatively easy.  Note that to keep the URL constant and place drupal in its own file directory I use a symbolic link.  Depending on your web server you might need to set your configuration to handle that.

The strategy I use is to:

The switch to Drupal

My technical sharing site's Content Management System (CMS) has been switched over to Drupal and it's new name: facti.net.  Facti is latin for fact, e.g. "Quid facti" = a question of fact.

Testing Drupal

This entry is a test of the Drupal Content Management System (CMS). WordPress has some limitations dealing with things outside of blogs (such as static pages showing up in the search results, dealing with different content types, etc) that drupal does not have. With the addition of certain plugins (such as tinyMCE for editing) drupal seems to work quite well. Thanks to Paul Bryan for the tips on drupal.

Syndicate content