Image
Drupal Assoc Badge

I’ve been a Drupal enthusiast for many years. Here are articles I’ve written for myself to document how I approached various subjects.

Drupal

By peterm, 3 December, 2009

Tags

I've been working with Open Atrium (OA) for the past several months. I'm interested in collecting reference links from others about how they are using OA so we can learn how to better use this amazing set of tools.

By peterm, 10 October, 2009

Tags

For the Title and Pay Plan application, I had been using the standard views filtering to display a paginated result set of several hundred rows formatted as a table. As you know, the standard Views UI form uses a text field to accept user input. The clients didn't want to have users type, but rather select from a drop down menu.

By peterm, 9 October, 2009

Tags

For the Title and Pay Plan applicaiton, we are using a technique to display information that embeds a view into a node. You might wonder huh? I know nodes. I know views. Why combine them? Here's a picture of how it is being used.

embedded view

By peterm, 9 October, 2009

Tags

For the Title and Pay Plan project, I made extensive use of the node_import module. Here are a few of the challenges I had with getting data imported.

Background

By peterm, 27 August, 2009

Tags

As I migrated my old site off Joomla and into Drupal, I noticed it was about a year ago that I first dove into Drupal. It all began with some Lullabot training. We had hired Lullabot to provide 3 days of in-house training to about 20 staff. I find CMS's and development frameworks interesting and had been working on learning CakePHP well enough to migrate some of my custom apps from Fusebox v3 to Cake; sweet.

By peterm, 21 August, 2009

Tags

In August 2009, I started moving an old version of my site that had been in Joomla into Drupal. I began by migrating the articles written in Joomla (and prior to that PHP and prior to that HTML) to become pages in Drupal. Since a page typically is static content, I'll probably do some theming to mark this content as older via taxonomy settings. Some of it is ancient and isn't useful to anyone but me as I recollect decisions made about PHP programs, libraries and logic.

By peterm, 10 August, 2009

Tags

Two methods for inserting a jQuery snippet.

Method 1 - In the Views UI, navigate to Basic Settings > Header. In the Header, you can insert a jQuery snippet wrapped with <script> tags. This example sets links to open in a new window and provides advanced row striping for a table of data.

$(document).ready(function() { // override the anchor to open links in new window $('td.views-field-title a').click(function() { window.open(this.href); return false; }); // colorize the rows with zebra striping and highlighting $('#tpp-listing-2').colorize(); });