Web Design Blog

Create custom page.tpl per node type

Drupal out of the box allows you to create custom page.tp files per url, but it does not allow you to create them based on the given node type. Here is a little snippet of code I used to define a custom theme hook suggestion. It basically tells the theme layer to look for a page--[node-type].tpl.php file that matches the current the node type that is currently being viewed. There were several places online that stated it should be implemented in _process_page() but I was only able to get it to work in _preprocess_page().

Drupal

Mapping Users in Drupal 7 | Screencast

Drupal

Been Camping it up!

I have had the great opportunity to attend several web dev related camps over the last several months. The 1st of these was DrupalCamp Asheville - hosted in beautiful western North Carolina. This was a very successful camp with a really local/regional vibe, but also attracting some extra-local talent. Robert Ristroph of Four Kitchens came all the way from Austin and gave some great talks on Debuggin LAMP and DevOps techniques.

Drupal

Introduction to theming notes

Power point's for DrupalCamp SC, 2011 theming intro session.

Drupal

Old Drupal screencast

I thought I would bring this out of the archive. This is an old screen cast I did for an abandoned Drupal podcast I was considering doing.

Enjoy.

Drupal

Drupal 7.0 released!

I'm a little late on the ball with talking about this, but the long awaited time has finally come. A stable version of Drupal 7 has been released! This version of Drupal has many great improvements including an improved user interface, built in image handling, RDFa support, and much-much more. Check out all the improvements and learn how to get started over at the Drupal 7 info page.

Drupal

DCSC notes - Features and Context

Here are some very ruff notes from Brent Ratliff's session on features and context at DrupalCamp SC.
Brent Ratliff - features and context overview
Personal plugs
Blog: http://laminarlogic.com/articles
Twitter: @brentratliff

A bulk of functionality is largely based node types and views.

Current Exportables

Drupal

Drupal Camp SC

Last weekend I attended Drupal Camp SC, the first Drupal Camp I have been able to go to. It was a fabulous time! Two tracks, a total of 16 sessions (8 in each track), a really great day. There was a wide range of topics covered including anything from Beginning Drupal, to Beginner and Advanced theming, and Node Access. A great day of listening to smart people talk about very in depth ideas.

Drupal

Pages