DrupalEasy Podcast 61: The One About Theming

Join Andrew Riley, Mike Anello, Ryan Price, and special guest Ric Shreves (from Bali) for a "very special", time-zone-busting, theming-happy episode 61 of the DrupalEasy Podcast.

Five Stories

  1. Ric Shreves is a founding partner of water&stone in Bali, Indonesia. He is the author of various open source technology books on topics like Drupal, Mambo, Joomla, Ubuntu - most recently “Drupal 7 Themes” (Packt). Ric goes by ricoflan on Drupal.org (yes, like the dessert).
  2. Document or Die is an admonition from Chris Cohen calling for better documentation above functions in contrib code. 
  3. Drupal and HTML5 talking about some of the new semantic layout tags in HTML, and a Roadmap for the HTML5 Initiative in Drupal 8
  4. Advice against using starter themes, or more specifically, use Tao
  5. Firefox rapid-releases 4, 5, 6 and 7. Firefox 6 Beta is out this week, as well as Firefox for Mobile. They have some new cool stuff for Web Developers who use Firefox, like a built in log, and the new JavaScript Scratchpad feature.

Picks of the Week  

Sponsor

WebEnabled.com

Site of the Week

If you'd like your site highlighted, please submit it at http://DrupalEasy.com/siteoftheweek.

Follow us on Twitter

If you'd like to leave us a voicemail, call 321-441-3964. Please keep in mind that we might play your voicemail during one of our future podcasts. Feel free to call in with suggestions, rants, questions, or medicinal advice for Andrew. If you'd rather just send us an email, please use our contact page at http://DrupalEasy.com/contact

Comments

In regard to using Views to display a hierarchy of taxonomy terms, I was able to work around this using the Lineage module. You basically use, but hide, the lineage output in a Views field. Then rewrite the output of your term link in a lower field. When rewriting that field you can include a token from the lineage field, which will give you that term's position in the hierarchy with a "-0", "-1", or something to that effect. Include that token as a CSS class on the term's anchor element. You can then use those CSS classes to indent the term links in order to display a nice visual hierarchy structure.

I agree the issue of displaying a taxonomy hierarchy needs a proper module. I use my above method to display site categories on many of the sites I build.

Submitted by Guest (not verified) on Fri, 07/15/2011 - 10:55

Author comment

That's an interesting solution - is there a URL where I can check out the results?

Thanks,
-mike

Mike,
I was thinking about the view terms hierarchy question.

I created a sandbox project, Terms Hierarchy View. It uses Views Field View module to create a recursive view, the view embeds itself. It show the complete hierarchy or you can pass a term id to show only terms under a certain parent.

Ted aka tedbow

Submitted by Guest (not verified) on Fri, 07/15/2011 - 11:59

Author comment

Yes, I looked at that module, but it's only for Drupal 6.

Thanks,
-mike

July 13, 2011