Content management systems

Quick steps to debug your module's css

Someone on the Drupal Dev list asked what to do when his custom module's CSS wasn't showing up. This is the quick checklist I sent in reply:

In order:

0. Make extra-sure your module's enabled on admin/build/modules

1. Check your drupal_add_css() call. Should look roughly like:
drupal_add_css(drupal_get_path('module', 'MYMODULE') .'/css/MYMODULE.css');

2. Make sure you're doing drupal_add_css() inside hook_init()

Rupal, the new Community-Powered CMS

For those eagerly awaiting the next member of the Drupal family, WorkHabit is proud to announce Rupal, the CMS designed exclusively for our valued cross-dressing community members.

Core modules include automatic pronoun feminization, rounded corners on everything, and auto-filtering of "it's a trap!" comments. Over 9,000 hours have been put into lovingly crafting the first community release.

Syndicate content