Your first Drupal 6 theme from scratch

Brian Choc, 06/26/2010
Printer-friendly versionPrinter-friendly versionEmailEmail

On June 26th, 2010 I gave a talk on introductory theming in Drupal 6. I tried to squeeze about 2 hours of content into under an hour's worth of presentation time, but didn't manage to fit it all in. Attached are the slides and the sample code for leisurely perusal.

From http://drupalcampcolorado.org/sessions/your-first-theme-scratch

We will go through the building of a theme starting from nothing but stock Drupal 6. No Views, Panels, Zen, or other new-fangled devices.

You should know some HTML and CSS, but that's all that's needed. No PHP experience is necessary ... we'll cover the four lines of PHP you need for basic theming.

How far we get depends on how long the session runs (so, um, how long do these sessions run?) and the participants' wants/needs.

Almost guaranteed to be ugly, but the theme will be your own.

AttachmentSize
YFTFS Presentation Slides.pdf6.62 MB
YFTFS Code.zip1.87 MB

Great tutorial!

Thanks a ton for this tutorial, I missed your session at Drupal Camp, and it really helped me get started with Drupal theming.

Are you going to post tutorials on more advanced techniques?

Thanks again!

Hey, thanks. Glad it was

Hey, thanks. Glad it was helpful.

I hadn't really thought about making more tutorials. This one was for a DrupalCamp Colorado presentation, and I'm not sure when I'll be doing another presentation.

Thank you

Brian,

I saw this presentation at Drupal Camp CO and even though I have been theming Drupal sites for a number of years, the basics and the way you showed how to take the reigns without the need of subtheming really touched alot of my own questions. Thank you for this great presentation. It's easy to understand and very straightforward.

Best,

Zach

Hey, thanks for the

Hey, thanks for the feedback. Glad it was helpful.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <h2> <h3> <h4> <h5> <h6> <em> <strong> <small> <big> <code> <blockquote> <q> <sub> <p> <br> <hr> <ul> <ol> <li> <dl> <dt> <dd> <a> <b> <u> <i> <sup> <img> <table> <tbody> <td> <th> <tr> <dt> <dl> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options