Back to Top

Services

Add placeholder text to Views Exposed Filter

I see this question pop up all the time, it's probably a good candidate for a module, but until then here is a simple way to add 'placeholder' text to an exposed form in Drupal Views.

Add this snippet to your template.php file:

Drupal

What is Drupal?
Drupal is a free software package that allows you to easily organize, manage and publish your content, with an endless variety of customization.

Gadgets

The Yooks and Zooks were the two warring tribes in Dr. Seuss's The Butter Battle Book. The Yooks ate their bread with the butter-side up. The Zooks preferred theirs butter-side down. (Assholes.) This caused a serious rift not unlike many of our own in the fully dimensional world. And while we haven't quite reached Seussian apocalypse, we are divided Americans in almost every way. By political affiliation. By race and gender. By class and religion. By Amazing Race participants and matters as frivolous as breakfast food.

Living

Irvine Welsh had a good point when he wrote this:

Pages