Syndicate

Feed

modules

Aug
20

Theming Drupal 6 from the module layer

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_pageRead more →

Feb
28

The inspire project

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 →

One file is attached to this posting. Login or register to download this file.


Feed