Home

Lullabot

Lullabot Ideas

We know stuff. We empower you to know stuff too.

Drupal Module Development Deep Dive Week

London, UK
September 20-24, 2010

Drupal Theming: The Code Behind the Videos

Article by Jeff RobbinsJune 3, 2009 - 2:59pm

One of the best ways that we've found to learn Drupal is to look at a finished site. Drupal's out-of-the-box experience doesn't really show its full potential. In our latest Drupal theming videos, we needed to build a complete website in order to provide content to "fill out" the theme being built. Once we finished that site, we thought that video viewers and others might like to be able get access and try it out for themselves. So we've done two things with the code:

  1. We've uploaded the code and database to http://960robots.lullabot.com to act as a demonstration of the 960 Robots theme the we built in the videos. This is more for people to look at the front end and HTML output. We've disabled commenting and account registrations in order to keep the site in tact.
  2. We've also bundled up all of the code (modules, core files, etc) along with the database dump and created a installation profile which you can download here and install just like you would install Drupal core.
  3. UPDATE: We've also made available the original HTML template files with associated javascript & images so that you can follow along with the Theming Basics video.

Is This The Long-Awaited Lullabot Drupal Distribution?

No. While this is a Drupal distribution, it's just a companion for our theming videos. Many new Drupal users will also enjoy being able to install a fully-functioning Drupal site complete with content, custom content-types, views, and custom blocks. It's a great way to get inside of a site and see what makes it work. This code is provided as-is and we don't have plans to keep it updated or supported.

Download it!

Just click the link below, unzip, and install. Having trouble installing? This video should get you going.

Enjoy!

AttachmentSize
lullabot-theming.zip6.89 MB
960-Robots-template.zip80.22 KB

Comments

Otto Manninen (not verified) on June 4, 2009 - 11:44am

cool

Thanks, dump.profile well be a time saver :) MimeDetect was completely new module to me, plus got few new ideas allready. hooray Lullabot!

Mark Woodward (not verified) on June 7, 2009 - 8:05pm

Thanks...and just fyi

Not sure about anyone else, but if I use the 'garland' theme as the admin theme (as it is set in the download), and try to 'configure' the 960 Theme, the right sidebar sort of crashes into the center...just a small point.

I always enjoy trying to dissect what sites are doing, and having a download like this is a very valuable learning tool...thanks lullabots

Mark

Anonymous (not verified) on August 18, 2009 - 8:27am

Thanks! The video is a real

Thanks! The video is a real time saver. I've been thinking about switching over to Drupal for a while (currently on wordpress) so this should help to solidify the decision. Once thing that concerns me is the security issues that are frequently mentioned from addons. Anyone have any experience with this? James

Brandon Weiss (not verified) on August 26, 2009 - 10:32am

SQL Errors when installing the distribution

Hmm, I'm getting SQL errors. I downloaded the latest distribution/bundle, uploaded it, ran the installer, and I get:

Warning: Table '960robots.users' doesn't exist query: SELECT u.*, s.* FROM users u INNER JOIN sessions s ON u.uid = s.uid WHERE s.sid = 'r8ssddub1bjf4j002d55c1h6i5' in /home/.ghostwalker/mixmanner/960robots.cityatdusk.com/includes/database.mysqli.inc on line 128

Warning: Table '960robots.variable' doesn't exist query: SELECT * FROM variable in /home/.ghostwalker/mixmanner/960robots.cityatdusk.com/includes/database.mysqli.inc on line 128

Warning: Table '960robots.system' doesn't exist query: SELECT name, filename, throttle FROM system WHERE type = 'module' AND status = 1 AND bootstrap = 1 ORDER BY weight ASC, filename ASC in /home/.ghostwalker/mixmanner/960robots.cityatdusk.com/includes/database.mysqli.inc on line 128

Warning: Table '960robots.url_alias' doesn't exist query: SELECT COUNT(pid) FROM url_alias in /home/.ghostwalker/mixmanner/960robots.cityatdusk.com/includes/database.mysqli.inc on line 128

When I look in the database, those tables don't exist (obviously). But I looked at the database at various parts during the installation, and at first they were there, then after the "configuration" part of the installer, they were gone. Once the installer runs, I'm left with 57 tables. Anybody know what might be wrong?

Joe (not verified) on November 11, 2009 - 2:00pm

Same SQL errors

I get the same SQL errors, huh that's odd. We thought at first it was a permissions error, we've already re-installed PHP and reset all permissions, my phpMyAdmin wasn't working either - now that's all working again but I still get this error while trying to use the video module.

ziza teknoloji (not verified) on August 29, 2009 - 12:38pm

Drupal

I cant control drupal completely yet but i'll try your themes

Eugen (not verified) on August 29, 2009 - 1:00pm

Nice theme

i am seriously thinking of switching from Wordpress to drupal. I want my site to be more evolved , not just a blog. Now i am giving WP one last chance , because i am building a custom theme to fit my needs. If i can't do that , drupal is my second choice. Nice article btw. Eugen

wa2nlinux (not verified) on August 29, 2009 - 4:01pm

Love Drupal

That way I love drupal, there are alot of nice themes. Lulla bot is one of them, :D. Great job for this theme ...

Tech Frog (not verified) on August 29, 2009 - 4:22pm

Nice One..!

Am planning to move my site from Wordpress to drupal. This article would surely help to an extent. Considering the developer friendly nature of Drupal, its surely is among the best or should i say comparatively the best free CMS platform out there.
Kept the .zip file for download, will check what it has to offer.
Thanks. Regards Tech Frog

Eric Buchel (not verified) on August 30, 2009 - 1:28am

drupal themes

hey just wanted to say thanks alot for the great themes and im getting use to drupal now :)

radyo dinle (not verified) on August 30, 2009 - 12:17pm

Thanks

Thanks for the articles you write. I will apply what you have described in my own site

Drupal-malaysia (not verified) on September 9, 2009 - 8:51am

Where is the rest of modules in Available updates?

when going to admin/reports/updates/list, it only shows Drupal core. After new module i installed is listed. Where's the rest? Furthermore the text in there i.e "Recommended version" is a bit mess up.

Secondly, the "Search ..." is a very neat integration. Just wonder if that can be localize, multi-langual.

Baba Pandey (not verified) on September 11, 2009 - 12:40am

Just Downloaded.

It was great theme and i just downloaded. i am planning to use this in my my news portal website. I didn't get about the Robot themes yet and i have ignored. Let me know if they will be useful, its because i never used robot template before.
Regards
BABA

Daniz (not verified) on September 15, 2009 - 5:07am

Available updates show only Drupal core and themes update

Hi, i've tried to use the bundled distribution . Everything seems to work fine, except the update_status module. When checking "Available updates" page, it only shows updates relative to Drupal Core and installed themes. There are a lot of modules installed.
Is there a way to fix it?

Very nice job, keep on working like this!

Tine Müller (not verified) on October 7, 2009 - 10:56am

How to make a Photoshop file like this design?

First thanks for your great book which I tell every new person I meet that are starting with Drupal to buy. Next thanks for given access to the files used in the book which will make it a lot easier to follow along and test.

BUT how do someone make such a great design from Photoshop? As I remember back to when I use Photoshop 7 it wasn't that easy.

/Tine

Discussion Forums (not verified) on October 30, 2009 - 11:13am

learning to theme in drupal

I am planning to transfer to drupal and use it now. I have some work on it going on and now customizing some themes.
And your book will help alot

I am using Rosehost Web Hosting and its a very good host for drupal sites. haven't got any problems with them

Anonymous (not verified) on November 6, 2009 - 1:11pm

Nice to hear.

Nice to hear. I will also follow you. Regards wigs

Discussion Forums (not verified) on October 30, 2009 - 11:16am

learning to theme in drupal

I am planning to transfer to drupal and use it now. I have some work on it going on and now customizing some themes.
And your book will help alot

mpanza (not verified) on November 6, 2009 - 10:46am

Custom Theming

I am building a Drupal site with a custom theme and although I can do 95% of what I need to do myself, I'm running into some limits with my own skills.
Very nice..

Email Marketing

Video Production (not verified) on November 10, 2009 - 5:46am

Great Video Instruction!

Loved the video, very clear. Looking to switch from Wordpress asap.

Anonymous (not verified) on November 10, 2009 - 9:51pm

Hi, i've tried to use the

Hi, i've tried to use the bundled distribution . Everything seems to work fine, except the update_status module. When checking "Available updates" page, it only shows updates relative to Drupal Core and installed themes. There are a lot of modules installed.
Is there a way to fix it?

Very nice job, keep on working like this!

____________________________________
( wow leveling guide | quick weight loss tips )

Marcis Gasuns (not verified) on November 13, 2009 - 1:24pm

article translate

Hi Jeff, I would want to translate this module to the Russian language. Please tell me your email, simply reply to my mail. Regards, Marcis Gasuns.

About this 'bot

Jeff Robbins

Jeff Robbins is co-founder and CEO of Lullabot. He worked at O'Reilly as an illustrator and systems administrator as the World Wide Web came into being. He was involved in the early stages of the first commercial website, O'Reilly's Global Network Navigator, but left to start one of the first web development companies...

more

Recent

Drupal Voices 160: Moshe Weitzman on Page Rendering in Drupal 7

Podcast 9.02.2010

Drupal Voices 159: John Albin Wilkins on Drupal 7 Theming

Podcast 9.01.2010

Drupal Voices 158: Emma Jane Hogbin on PHP for Designers

Podcast 8.31.2010

Command Line Basics: More Editing with Vi/Vim

Video 8.31.2010

Lullabot's Back to School Sale

Blog 8.30.2010

Popular

Drupal Voices 160: Moshe Weitzman on Page Rendering in Drupal 7

Podcast 9.02.2010

Photo galleries with Views Attach

Article 6.01.2009

Drupal Voices 159: John Albin Wilkins on Drupal 7 Theming

Podcast 9.01.2010

Drupal Voices 158: Emma Jane Hogbin on PHP for Designers

Podcast 8.31.2010

Assembling Pages with Drupal

Article 7.17.2010
 
  • Home
  • Services
  • Events
  • Ideas
  • Store

Connect the Bots:

Twitter Facebook YouTube blip.tv All Posts Newsletter
  • Ideas
  • Blog
  • Podcasts
  • Videos
  • About
  • Contact
  • Jobs
  • Services
    • Training
  • Events
    • Training Workshops
    • Other Events
    • Conferences
    • Calendar
  • Products
    • Videos
    • Books
    • Swag
  • Ideas
    • Blog
    • Podcast
    • Videos
  • About
    • Philosophy
    • Team
    • Presskit
  • Contact
    • General
    • Work Inquiries
    • Mailing List