Using the VI Editor
I'm a relatively recent Mac convert and I still stumble a bit with some command line tricks. In particular, when I need to use VI to edit things I always have to look up the commands to edit and save my text.
So here is my cheat sheet, in a public place that is easy to find :-)
- Type vi FILENAME to use the vim editor to alter this file.
- Navigate to the line that needs to be changed or added and make your changes.
- Apparently the exact keys that control navigation vary. On my computer, the following worked:
- Down - the enter key
- Right/Left - left/right cursors
- Delete a letter - the 'x' key
- Insert letters - the 'i' key
- When finished editing, do the following: ESC :wq!
That's my short and sweet blog for the day.
Drupal Wins GRAMMY.com
Lullabot is proud to announce that GRAMMY.com, the official site of the GRAMMY Awards, is now a Drupal site. The GRAMMY Awards is the music business' largest and most prestigious awards ceremony. This year's telecast, happening January 31st, will be the 52nd annual awards ceremony held by the The Recording Academy.
GRAMMY.com has run on several platforms over the years, but The Recording Academy decided to move to Drupal for its flexibility, speedy build-out, scalability, and performance under pressure. The website sees a huge traffic spike around the telecast and the Academy needed a content management system which could be both resource efficient throughout the year and provide high-performance and high-availability around the dates of the awards ceremony.
Lullabot, whose portfolio includes Lifetime Television, FastCompany.com, and the Sony Music artist platform (running over 100 Sony artist websites), brought in developers from Santex to help get the site built in about eight weeks. The site features extensive photo and video galleries, a live video feed, blogs and news, and of course listings of all the nominees. The site also features integration with Twitter and the GRAMMYs' active Facebook community. The project was assembled using mostly existing free add-on modules from Drupal's vast contributions repository.
In the past, a website like this would have cost millions of dollars to build. But Drupal allowed The Recording Academy to assemble the site quickly at a fraction of the cost.
Analyze This! Using the Google Analytics API
Google Analytics is a great way to monitor site usage and traffic. You add Google Analytics to your site using the Google Analytics module, which is super simple to set up. After it's in place, you can go to the Google Analytics site and dig into a ton of data, create custom reports, etc.
But you can also use the Google Analytics API to pull Google statistics into your own site and display them there. There is a Drupal module, Google Analytics API that was created by Joel Kitching as a Google Summer of Code project. It provides a wrapper you can use to create tailored queries of your analytic data. You can turn on the included 'Google Analytics API Reports' module to display Google statistics in blocks or pages right on your site, and/or create custom code to suck in specific statistical data and do any Drupally thing you like with the results.
Lullabot is looking for Drupal teachers
Are you a Drupal expert? Are you excited to travel to exotic locations, meet interesting people, and share your knowledge with them?
Lullabot is looking for part-time freelance Drupal teachers. If you've got a flexible schedule and can travel for as much as a week every month or two, this could be a great opportunity.
You should:
- be a Drupal expert
- have great communication skills and a sense of humour
- have teaching experience ('Camps, 'Cons, classes... you name it)
- be able to commit to doing a certain number of teaching days each quarter
- be flexible and reliable
We will:
- train you as a Lullabot teacher
- provide the training curriculum and equipment
- pair you with experienced Lullabot teachers (you won't need to go out on your own right away)
- send you around the world delivering fun Drupal training to smart people
- work with your schedule
- pay you for your time and cover your travel expenses
Lullabot has been running public and private Drupal workshops, seminars, and events for the past four years. We've run over one-hundred training events, and trained thousands of Drupal developers internationally. We'd like to share our experience with a few new teachers and expand our training staff.
Interested? Please send the following:
User Management for Real World Groups
Drupal's default methods of handling user names, emails, and registration processing work pretty well out of the box for many web sites. Drupal assumes your users are online, have unique email addresses, and that you want to create a site that grows organically as users find it and register themselves. Drupal out of the box may not work so well for real-world groups of people where the group already exists and consists of specific people who may or may not be online, may or may not have unique email addresses, and may or may not be able or willing to register themselves on your site.
Some good examples of the problems I have run into are creating web sites for families, clubs, and churches, but the same problems exist for any other real world organization or group. They have established groups of members, some of whom may share email addresses or have no known email address. And in these cases the administrator will probably create user accounts for everyone rather than waiting for users to self-register. On top of that, we may want some control over usernames so that users can recognize each other once they do get online, by forcing the username to be FIRSTNAME LASTNAME.
This creates several problems that have to be overcome creatively. After several years of trying various approaches, here is a summary of the problems I ran into and the ways I eventually solved them. I have included links to the ones I discuss, with the number of downloads in the week of November 22 as a measure of how commonly used they are.
Do It With Drupal!
Have you checked out the Do It With Drupal website lately? There are a lot of exciting things happening! This year's keynotes come from Lullabot co-founder, Jeff Robbins, Brain Traffic's Kristina Halvorson and Drupal founder, Dries Buytaert. DiWD also has a lot of other awesome speakers coming. Check out our updated schedule to get a good overview of all of the sessions.
Back by popular demand, we will be doing case studies and site dissections from top Drupal sites including the Economist, New York Senate, and MTV UK. We'll have their development teams on hand to crack them open for us, show us what makes 'em tick, and answer our copious questions. We're also building and demonstrating Drupal fantasy sites – we create clones of popular websites in Drupal. This year's clones include Etsy, Craig's List and Yelp.
We've got master classes from Views and Panels author Earl Miles, Ubercart uber-guy Ryan Szrama, Organic Groups author, Moshe Weitzman, and Karen "the Queen of CCK" Stevenson talking about both CCK and date/event handling. We've got Drupal 7 co-lead Angie Byron talking about Drupal 7 and the list goes on and on. We've also got some great speakers from outside of the Drupal community coming to talk about many of the non-Drupal skills needed to build a successful Drupal project -- these include content strategy, community building, project management, and understanding some of the emerging technologies which we will all need to integrate into our sites over the next few years.
Another important part of the Do It With Drupal experience is the social interaction and networking. Want to share a drink with some of Drupal's top developers? Want to meet other site builders, developers, and decision makers who are in the same boat as you? Want to find some people to help answer your Drupal questions? With most of the event happening in one central place and organized evening events – not to mention lots of fun stuff nearby in the French Quarter, it's easy to meet people at Do It With Drupal!
What else besides a lot of interesting information and amazing speakers do you receive if you come to New Orleans you ask? How about these highlights:
- Amazing food - free breakfast and lunch each day for attendees
- A sweet swag bag that includes, yes... swag! Oh... and a Lullabot t-shirt.
- Your choice of one DVD from our popular Lullabot Learning Series
- Access to the 2009 Do It With Drupal video archive. We're recording it all! Go online once you get home and catch the sessions you missed during the excitement.
- Come hang out with Lullabot team, with a hammer and nails, at the Habitat for Humanity event on Saturday.
- Lullabot temporary tattoos. Pretend they're permanent. Look tough.
We'll see you in New Orleans!
Drupal Theming Tips + Tricks
Lullabot and our own James Walker are partnering with Acquia to offer a free Drupal webinar: "Tips and Tricks for Drupal Theming". On Thursday, November 19th, at 1 pm EST, James and Acquia's Bryan House will team up to help you polish up your theming toolkit.
Here's the schpeel:
The Drupal theme system is incredibly flexible and powerful - allowing "themers" to completely control the entire look and feel of your website. Mastering Drupal theming is the key to giving your website it's own unique, polished appearance. In this webcast, we'll watch the process of taking an HTML and CSS mockup of a website and turning it into a fully functional Drupal theme. Learn how to make your Drupal site match your organizational needs.
What will we cover?
- How to approach a Drupal theme
- Creating a theme from a pure HTML/CSS design
- Working with template files
- The Drupal theme system and how it works
Sign up here!
White House's Open Source Plans Previewed at Drupal Meet-Up
The White House New Media team broke its silence to the Drupal community at the DC Drupal Meet-Up on Monday evening by giving a brief talk providing some context on their switch to the Drupal content management system and broader efforts for having the US government openly participate in and help foster open source projects.
After the initial announcement of WhiteHouse.gov going Drupal, aside from a post from Dries, and a round of commentary and reactions summarized here, there hasn't been a lot of new public information about the White House's switch to Drupal and their future open source plans.
But that changed after Monday night when three members of the White House New Media team spoke at the Drupal meet-up in Washington, D.C.
What are the White House's future plans with open source?
The biggest news from the night was a few announcements about the White House's plans for engaging with open source development communities. Dave Cole, the White House Deputy Director for Technology, said that the White House New Media team has been working with the White House legal council to figure out how to participate and contribute code back into the Drupal community. They can't promise a timeline for when that'll happen since it's pretty unprecedented for the Executive Branch to be participating in an open source project and to be directly engaging the Drupal community.
They also want to start holding "Development Challenges" for the international Drupal community in order to help figure out some ways to take the best ideas that are already out there, and see how they can be used for the public good.
The White House New Media team is also looking to solidify all of this into an event coming up early next year. The specific details and timing is still uncertain, but they're looking to hold a "camp here in DC for open source developers to both collaborate on what public sector development should look like in open source as well as ways that people can engage with the White House" and specifically the Executive office of the President.
Sounds something like a "White House Open Source Drupal Camp" to me.
More details in video uploaded by Development Seed and other Drupal-specific highlights down below.
White House New Media Team on Using Drupal from Development Seed on Vimeo.
White House Drupal Coverage: The Roundup

October's announcement that the White House website had relaunched on Drupal brought cheers from the open source community. Even outside of the Drupal world, the high-profile government site was seen a vote of confidence for open platforms and collaborative development. The teams at Acquia and Phase2 helped deliver a great site that silences outdated claims that OSS can't be used on "Enterprise" level sites, and impresses anyone who thought that that Drupal sites have to look like blogs.
Naturally, there's been a lot of chatter about the switch, some good and some bad. I thought I'd take some time to round up the most interesting articles for the community and study what they say about how Drupal and its role in the White House's web presence are being perceived.
The Associated Press broke the story on the morning of the 24th, confirming rumors that had been circulating about a high-profile government site launch. (At DrupalCon DC in March, hallway chatter was buzzing about Dries Buytaert's invite to the White House to discuss Drupal and its technical underpinnings.) The story cast Drupal in a pretty favorable light, and touched on some basic Open Source issues like crowdsourced security.
New Video Announcement: Site Building With Drupal
Announcing Site Building With Drupal
How to install, customize, configure, and launch a Drupal site
This is it! Site Building With Drupal is the definitive guide to Drupal website creation. In this densely-packed 4 hour and 45 minute video, Addison Berry, Angela Byron, and Jeff Robbins illustrate Drupal's concepts and define its jargon while building a complete website from the ground up.
The team shows how to install Drupal, add modules, create and configure content types, build listing pages, and configure Drupal's multi-user permission system. You'll see how to use Drupal's taxonomy system to classify and organize your site's content, how to create and configure sidebar content using blocks, and many common tasks such as setting up a rich-text editor. Also discussed are tips for choosing which contributed modules to use, how to create private content, and how to launch a site.
This video pairs well with Administering Drupal, which shows how to administer this site once it has been created.
Early release pricing: Site Building With Drupal is now available for download at an early release price of $55. That's more than 25% off the normal price. But don't delay. This price is only available for the first few weeks while we wait to get the DVD version back from the pressing plant. When the DVD comes in, this price will go up.
RSS Feed

