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, 20 May, 2018

Tags

In preparing for the next iteration of campus maps, I've been studying our options for hosting and trying to develop data we can use to tune the application. In order to do so, it makes sense to capture load test data and work with the data to then tune caching options.

The difference between our old map application and the new version is Drupal. The old version is a series of static html pages; the new version uses Drupal, OpenLayers, CCK, Views and a few other modules to deliver a different type of experience.

By peterm, 27 April, 2015

One of my objectives with migrating data out of Drupal and into a MEAN stack app is for easier management of downstream requests for JSON data. We want to take advantage of the built in functionality of the MeanJS stack, and here's a simple exaple.

In this use case we wish to expose articles to some other app who will make a HTTP GET request for all the articles or just one.

In app/controllers/articles.server.routes.js, we need to add entries for the two functions we'll allow via GET.

app.route('/api/articles')

.get(articles.list);

By peterm, 6 March, 2015

Here's how I lost 3 hours. In using a comination of these modules with the Drupal Foundation theme. I wanted a small search button aligned right in the right sidebar. See http://mobilemaps-dev-proxy.ucsc.edu.

  • search api
  • search api autocomplete
  • search api live results
  • Foundation 4 theme

 

function zurb_maps_form_alter(&$form, &$form_state, $form_id) {

  // Sexy submit buttons

Tags

By peterm, 5 September, 2014

Tags

As part of a campus roll out for providing building addresses to our facilities, I've been working on devleoping a small look up site and API service developed in Drupal.

All campus buildings, parking lots, fields and entities are getting official US Post Office street addresses. This is a second phase of work that follows on the naming of campus roads.

By peterm, 13 September, 2013

MWFCON 2013

I attended the Modern Mobile Conference down at UCLA 9/10 and 9/11. Here are some of the highlights I took away from the conference.

The content of the conference expanded this year and included presentations on javascript frameworks, responsive web design subjects including tables, images, event schedules and email. For each session, the speaker notes are available and often include additional resources worth reading. http://mmwcon.org/sessions 

Tags

By peterm, 19 June, 2013

I started with the TileMill support docs (Crash Course and Guides) to get my basic info and configurations. This is some of the best support documentation I've seen. Well written in a step-by-step approach. Admittedly, I need to re-read some sections until it sunk in, but after seeing some demo's by @springmeyer and @ian_villeda at SOTMUS, it started to become more clear.

By peterm, 18 June, 2013

After attending the State of the Map (SOTMUS) conference last week, I started working on a project I had been thinking about for some time. I'd been particularly interested in figuring out how to use TileMill to style or override data coming from OpenStreetMap. Beyond that, I've been trying to figure out how all the different components would fit together. I should note that I'm not a cartographer, I'm just into mapping and the technology.

The Setup

By peterm, 19 November, 2012

Back in September, I attended the UCLA Mobile Web Framework conference. This was a group of about 100 UC and CSU folks gathered for two days to talk about the MWF and its direction.

I was brand new to the notion of MWF. We'd been looking at adopting it as a strategic direction for our campus mobile strategy, so I wanted to learn more about it for a management perspective and see what and how I could adapt it to our Drupal work.

Tags