Lately I’ve been giving a lot of thought to my local development environment. When I have a new Drupal project to start, I usually start by creating a new hosts file entry and adding an apache virtual host for the project. But why? I don’t do this when I start a new ruby project. Whether it’s Rails or Jekyll, I just start a webserver right from the project root, and when I’m done with it, ctrl+c and it goes away. I want this for my Drupal and PHP projects.
Monique took this picture while snorkeling off a catamaran in Cancun, Mexico, with our Olympus 720SW, water-proof camera.
Since April of last year, I’ve been organizing the Drupal NYC Happy Hour. The idea is very simple, and one that I admittedly got from the Twin Citites group. Get a bunch of drupalers together to have a few drinks, with no other agenda. This simple concept has proven to be wildly popular, and we regularly see crowds of around 50 drupalers.
I’ve been hard at work lately on my new pet project, the Dialog API module. My goal for this module is simple. Take the incredibly simple CTools ajax command framework, and merry it to the jQuery UI Dialog widget, to provide an incredibly simple api for creating dynamic dialogs. The basis of this module comes from CTools’ modal framework (which I wrote about previously), so if you’ve used that in the past, using dialog should be a breeze.
Last week I wrote about the awesomeness that is the CTools ajax framework. If you’re anything like me, your mind immediately started racing about all the cool possibilities this opens up. One of those cool possibilities is yet another hidden CTools gem, the modal framework. If you’ve ever used panels, then you’ve seen CTools modals in action. In this post, I’ll show you how to use modals, in the same way that panels does.
Ajax is nothing new. And especially since Drupal’s adoption of jQuery, ajax has certainly become much easier. Generally, ajax requests in Drupal involve
While discussing the news about Whitehouse.gov moving to Drupal at work today, I had an idea to create a bookmarklet to help me figure out whether the site I am browsing is indeed a Drupal site or not. Then at lunch, Shawn (@shalosophy) had a great idea that this should be made into a firefox extension. And so was born the “Is it Drupal?” Firefox Extension.
Andrew was having a problem earlier today with a theme’s preprocess function not being called in the order he expected. In particular, this function was a THEMENAME_preprocess_node() function. The odd thing was, that when he looked at the theme registry using the handy devel module, the order of preprocess functions was:
I’ve been using this little tip for so long now that I forgot how to do it, until I showed someone here at work how to do it. You can use the standard console application that ships with OS X to view any type of log file. Its not obvious how to do this since there is no interface to add a new log file, but once you figure it out, it couldn’t be any easier.
So that title may be a little ambitious, but this is how I like to theme CCK fields, and (at least in my mind) its the most flexible and Drupal-like way.