Drupal Commerce: Creating a "smart" product catalog with Views

Fri, 10/03/2014 - 16:48 -- admin

Today we're going to take an in-depth look at how to create a fairly robust product catalog, in Drupal Commerce, with Views.

Before we get started, I would just like to clarify exactly what content we are working with during this tutorial.  We are going to be building a View of Product Displays, not a View of actual Commerce products.  Commerce products are not nodes within Drupal!  Commerce products need to be grouped together inside of what's called a Product Display (a content type).

Drupal: Adding current user's role to the <body> tag, as a class

Thu, 10/02/2014 - 16:01 -- admin

This is something handy I've been using for a while when developing Drupal sites, and I thought I'd share it!  We're basically going to be adding a small function to our site, that is going to print out the current user's role as a class, on the <body> tag.  The snippet I'm going to share will work with Drupal 7 sites that are running the Omega theme (or using a subtheme of the Omega base theme).

How does PyroCMS stack up against WordPress, Joomla, and Drupal?

Mon, 04/22/2013 - 00:00 -- admin

PyroCMS is an awesome, open-source CMS (it says so on their website, so it has to be true right?).  I’ve been working with Pyro for the last week and a half and I feel like I have a decent understanding of how this system ranks up against the big three (WordPress, Joomla, and Drupal).  I will be walking you through some of Pyro’s high and low points, and finishing up this post with an overall rating of Pyro.