DrupalCon was held in Portland last week. I took detailed notes for (most of) the sessions I attended. Here are the ones that were good enough to share with the internet.
Views offers a neat grouping mechanism that allows you to list content with matching criteria under said criterion. For example, if you had 3 press releases from 2011 and 2 from 2010, you could display them like this:
Themers frequently have a need to style every nth element (second, third, fourth, etc.). Sometimes, this is as straightforward as odd/even coloring on table rows; these are styling touches that can be chalked up to progressive enhancement.
Background: Yesterday, I posted about using PHP to wrap a span around the first word in a block title. I used a block template with the note that I'd be interested in a better method, like a preprocessing solution.
DrupalCon was held in Portland last week. I took detailed notes for (most of) the sessions I attended. Here are the ones that were good enough to share with the internet.
Views offers a neat grouping mechanism that allows you to list content with matching criteria under said criterion. For example, if you had 3 press releases from 2011 and 2 from 2010, you could display them like this:
Themers frequently have a need to style every nth element (second, third, fourth, etc.). Sometimes, this is as straightforward as odd/even coloring on table rows; these are styling touches that can be chalked up to progressive enhancement.
Background: Yesterday, I posted about using PHP to wrap a span around the first word in a block title. I used a block template with the note that I'd be interested in a better method, like a preprocessing solution.