Change that Form Element - Give a fieldset a class

I looked for this a few times and didn't find it so I decided to write a quick blog post for future themers to discover. You see Drupal is full of forms and fields. There are any number of reasons that you may want an element on a form to be identified by a unique class or ID. I ran into this today when I wanted to theme a fieldset, provided by a module, that didn't have a class on the fieldset. Now there are many ways to theme a fieldset by using the divs that contain the fieldset. However, sometimes it's nice to just have a theme set for a fieldset, and apply that class when and where you need it.

 

Drush is Fun

Download and enable cck module:

drush dl cck
drush enable cck

Run cron:

drush cron

Refresh modules and core updates informartion:

drush refresh

Run update.php

drush updatedb

Take a snapshot of the DB:

drush sql dump > mydb.sql

Clear Drupal cache:

drush cache clear


Using Drush to update all the modules on a site...

Change to the root of the drupal install

$ cd themer
$ drush update


You Get

Refreshing update status information ...

Cron run ?!? I can't get it to crawl!

Cron is one of the most important aspects of having a drupal site. And it can be a pain to figure out, configure, and be sure it's running. I have tried several different processes, and here is the one I like right now...

tags: 

This Themer's Path to a Pane

A Themer's Solution....
I have in my theme a directory called plugins. in there I have layouts and styles in styles I have a folder called thintop and... in there I have 2 files (tho I have commented out the template file in favor of this fancy rendering which gives me admin links and extra stuff in my pane... thintop.inc and THEME-NAME-thintop.tpl.php (based on http://drupal.org/node/495654) good info at http://drupal.org/node/427192

Get Rid of Split at Cursor

I place this in a module.
use hook_form_alter to apply.

Subscribe to RSS - code