Computing
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()
How to use a mailing list
When you reply to someone on a mailing list, your mail software will populate the "To:" address one of two ways: either to the person who wrote the post you're replying to, or to the entire list. This depends on how the list is set up.
There is a very simple way to determine if you're replying to a person or to the whole list (which might be bad if you're giving out your rates). Follow these three simple steps to avoid failing at mailing lists:
1) Read a message.
CSS: ur doin it wrong.
So I'm over on codinghorror reading a blog by one of the Stack Overflow guys about how CSS is super limited. Jeff hits us with a couple examples of how CSS falls short and then goes on to explore a couple Ruby gems that supposedly shine up the giant turds that are cascading stylesheets.
Jeff's 3 problems with CSS are:
- Vertical alignment is a giant, hacky PITA.
- Lack of variables so we have to repeat colors all over the place.
Howto: Lavalamp menu in Drupal 6
Today I got a tweet from @ChristianHudon who had seen our Lavalamp menu implementation on b4blinds.com:
@entendu I love this menu: http://www.b4blinds.com/ Care sharing howto?
So, Christian, here's how to:
First, javascript
Go snag the jQuery Lavalamp plugin and drop it in your /misc
directory.
DrupalCon SF is here!
Bright Bacon is getting ready to represent at DrupalCon SF! We can't wait to see all the new ideas and creative energy in San Francisco. We're all stocked up on Red Bull and 5 Hour Energy and ready to make this 72 hours of awesome.
If you're looking for some Experienced Drupal talent, Erik and I will be there all three days, and the job fair on Tuesday night. Let's meet!
