Sometimes, you need to change the HTML markup output by some module, and you want your changes to keep whichever theme you will use. The need came up for me recently when I had to provide special markup for pages that display a webform. I had to quickly put together a module for a client, a module that would provide a template file, which I decided to name (arbitrarily) page-webform.tpl.php.
The situation may arise for you as well, so I will share my technique with you. Say you want to provide a template file for all pages that display one node of a content type with machine-readable name CONTENT_TYPE_NAME. And say you want to use a module to provide such template. Say you decide to name your module special_page. Read more →
I am currently reading not just any other Drupal book. With its steady flow of publication goodness, Packt Publishing has always been, in my opinion, the perfect B+ student: hardly ever outstanding. But its latest Drupal title, Learning Drupal 6 Module Development, is exceptional. Read more →
All the guys in my group were bringing their laptop to class. They didn’t want to use the lab facilities. During the first half of the semester, in that particular class, we had to learn how to script art, and the language the teacher chose for us was AppleScript. Read more →