Recent Drupal Posts

Berkeley Drupal Group - THURSDAY September 27th Meeting

Greetings Bay Area Druplers,

Our next meeting will be THURSDAY, September 27th, Noon-1:30 at 290 HMMB, UC Berkeley (note the change of day from our usual Wednesday time slot)

This month - Developing Drupal Sites at UC Berkeley.

Rob and Tracy, from Quiddities are going to talk about the sites they have developed at UCB (including the "College of Arts and Science":http://ls.berkeley.edu), the trials and tribulations of Drupal and the campus bureaucracy, and the CalNet authentication module they have been developing.

Also, "BADCamp '07":http://badcamp07.org is coming! Are you ready?

Drupal Date Formats

Copied from: http://exploded.awcr.org/DrupalDate

* a - am or pm
* A - AM or PM
* d - day of the month, 2 digits with leading zeros; i.e. 01 to 31
* D - day of the week, textual, 3 letters; i.e. Fri
* F - month, textual, long; i.e. January
* h - hour, 12-hour format; i.e. 01 to 12
* H - hour, 24-hour format; i.e. 00 to 23
* g - hour, 12-hour format without leading zeros; i.e. 1 to 12
* G - hour, 24-hour format without leading zeros; i.e. 0 to 23
* i - minutes; i.e. 00 to 59
* j - day of the month without leading zeros; i.e. 1 to 31

Made it to the 5.x promised land

I finally transitioned our main CITRIS site over to Drupal 5.2. Upgrading remains the trickiest bit of the Drupal experience, but this transition was so much smoother than 4.6 to 4.7. My favorite bit is how much custom code/hacks I have been able to smoothly fold into Views and CCK.

Fingers crossed for 6.0

Form without submit button

Quick tip:

If you want to create a form without a submit button (ex: a search box in the menu bar), but you want Drupal to call the form_id_submit() handler when that form is submitted, you need to set #executes_submit_callback => TRUE on the textfield.

Berkeley Drupal Group - July 25th Meeting

This month's topic: Image handling in Drupal.

This is a pretty meaty topic. I would like to at least touch on:

* An overview of Drupal file handling
* Images as nodes vs images as CCK fields
* The joys of imagecache.
* IMCE vs img_assist

So, this is the perfect time to bring your questions about images, and your favorite image handling module or strategy to share.

CivicActions will be bringing pizza (yay!)

Directions etc: http://drupal.citris-uc.org/about/bdug

PDT Milestone 1

Just downloaded PDT Milestone 1, released on July 2nd as part of the big Europa (Eclipse 3.3) hoopla. Unfortunately, so far no good. It incorrectly reports any string with brackets and a dollar sign as a syntax error. Something as simple as:

    $result = "{users} $query";

And, of course, the drupal codebase is just packed with strings of this kind. So it looks like I will be skipping M1. (I reported this at: https://bugs.eclipse.org/bugs/show_bug.cgi?id=195713)

Berkeley Drupal Group - May Meeting

The first Berkeley Drupal Users Group was a success, so it looks like we are on for monthly meetings. The big change is that we are moving from the evenings to lunch time, so more on-campus staff can be there.

I have also created a new website to support the group: http://druapl.citris-uc.org

The next meeting is:
Wed May 23rd, 12-1:30pm, on the UC Berkeley campus.

"More info here":http://drupal.citris-uc.org/node/2

Quick Admin Menu - A New Wave Menu UI

I just released a beta of my new experimental administration UI for the Drupal menu system, Quick Admin Menu. As opposed to my Ahah work, this interface is very client-side heavy, with only a couple of Ajax calls back to the system. This project is all about pushing the envelope in terms of ease of use.

Check out the demo. (You will not be able to submit the changes, or use the “Add item to Menu” link)

Drupal Icon Sets

There was a push a while ago to get Drupal to use the tango icons, which was then pushed back, since Tango's license is CC and not GPL. I don't fully get the distinction, but here are the GPL icon sets I have found:

* "Lullabot Icon Set #1":http://www.lullabot.com/articles/free_gpl_icons_lullacons_pack_1
* "Morten's Iconify Module":http://morten.dk/blog/mortendk/iconyfi-alpha-pixels-dot-03
* "Mark James' Mini famfamfam set":http://www.famfamfam.com/lab/icons/mini/

Weird Firebug Bug

Just got bit by a weird Firebug issue. If you have a variable named "parent", Firebug will choke. The second time you load the page, you will get lots of "console is undefined" errors, and there is nothing for it, but to rename the variable and restart the browser. I still think FB is the best thing since sliced bread.

Thanks to Mike over at the Firebug forum for diagnosing this one:
http://groups.google.com/group/firebug/browse_thread/thread/54df1cf07e7712f8/065fc7833fc93b19?#065fc7833fc93b19