Jump to Navigation

Talking about Zen and Theme Settings API

I was just interviewed by Jeff Robbins for Lullabot podcast #55. I’ve listened to this Drupal-lovin’ podcast since its inception, so it was pretty cool to be asked to do an an interview.

We mostly talked about the Zen theme, which I’ve put a lot of work into and, if you don’t already know, is a fantastic foundation from which to build your own custom-designed Drupal theme.

Listening to the interview, I realized a flubbed the explanation of the Theme Settings API. So let me clarify…

Drupal themes have always had the ability to change their settings by going to admin/build/themes/settings/MYTHEME. You can toggle the display of the Logo and site slogan for example. But what was broken in Drupal 5 (and 4.7) was that phptemplate themes couldn't add their own custom settings to that form. For example, the Zen theme uses the Theme Settings API to add some settings that allow the user to hide/display the breadcrumb, include/exclude the "home" link at the start of the breadcrumb, and change the breadcrumb separator from “›” to anything you want. I hope that makes more sense. If you are using Zen or a theme developer whose comfortable with PHP, you definitely need to check out that module.

Comments

Anonymous's picture

Great work

If you are building a site, and not working with Zen, you're working too hard. The comments and notes throughout the files save a great deal of time, especially for those new to drupal.

Anonymous's picture

Zen Drupal theme and Theme

Zen Drupal theme and Theme Settings API is really powerful Combination.
Zen is very flexible "base" theme, easy to modify.
And Theme Settings API gives posibility to make it convigurable.
Really great!

Anonymous's picture

I just wanted to let you

I just wanted to let you know that I thoroughly enjoyed the podcast. It helped me get through the arduous task of the yardwork that I've put off for a few months this weekend. I learned a whole lot about the Zen theme, and I'm very excited to dive right in.

And yes, I was initially discouraged by the screenshot on drupal.org. However, the podcast shed light on the fact that Zen is something that I've been looking for all along.

Thank you for all of your hard work that you have put into the Drupal community.

- Joel

Anonymous's picture

What is CCK? (something

What is CCK? (something tells me it's a dumb question:D)

Anonymous's picture

California state university online degrees

Sorry. Great. Now i can say thank you. Help me! It has to find sites on the: California state university online degrees. I found only this - http://nel.saluton.dk/Members/OnlineUniversity/troy-university-online-ma.... Online university, it is all one of the free that are grown to try previous years with their support to have an online boom. Apart you have not held and are regarding about stepping up that learning? THX :-), Teague from Verde.

Anonymous's picture

Buzz bars buspar

Hey. He who labors diligently need never despair; for all things are accomplished by diligence and labor. Help me! There is an urgent need for sites: Buzz bars buspar. I found only this - buspar helped my raynauds. Buspar, the effective and sometimes among them is of end the test that it will get you effective and get you find however from the toll. The severity is good on your few student and if you realize it away you have to clean with skin ingredients, buspar. Thank :cool: Kerry from Verde.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <code> <del> <ins> <blockquote> <q> <sub> <sup> <ul> <ol> <li> <dl> <dt> <dd>
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Lines and paragraphs break automatically.

More information about formatting options