Drupal 6

Drupal 6

By peterm, 15 May, 2011

I've been working with a small team to adapt our new campus template for use in Drupal. While the general direction of campus web presence is to move existing sites towards the Web Content Management System (WCMS), there are a number of use cases where current Drupal sites can't be migrated. These include sites with dynamic dependencies and web applications.

Tags

By peterm, 1 May, 2011

Tags

Here's what I'm testing on breadcrumbs for use with the campus template. 

I've been working with the custom_breadcrumb and menu_breadcrumb modules. I've also done some Views hacking to get a dynamic breadcrumb generated.

On the maps site, I've been using a view and some URL overriding to provide a breadcrumb for pages that land on node/nid/map_detail. These are pages that you'd get to by selecting a building or department. I'll probably scrap this at some point and just land on the nodes. 

By peterm, 5 April, 2011

Tags

I've been pushing to get the new campus interactive map out while we've got families visiting campus. In order to pull a lot of different authoritative data sources together with a variety of developers and development practices, I've come to rely on Drush, git and svn.

By peterm, 6 March, 2011

Tags

Some of the final touches are reviewing the work done for campus maps (http://maps-dev.ucsc.edu) and trying to get as much into code as we can. One way of doing this is by using the Context module. This will allow us to create conditions and reactions for different sections of the site. We can then export this information from the database to the filesystem where it can be managed in git or svn.

By peterm, 1 February, 2011

Tags

I've had a number of rounds of trying to get the latest Aegir beta installed. I was getting a "can't connect to master database" error. Weird, since I could connect to the db at localhost and the FQDN.

So, I started to poke around and saw the my .drush folder contained the files:

  • server_localhost.alais.drushrc.php
  • server_master.alias.drushrc.php 

Those files had stale info in them. I'd evidently run the install.sh script enough times and made changes in between that something was amiss. 

By peterm, 25 January, 2011

Tags

 We've been working with the Sustainability site on getting webform submissions to return a chart upon submit. Gluing the two modules together requires using a Custom URL redirect in the Webform > Form Settings > Custom URL field. 

I did need to patch webform using references here: http://drupal.org/node/764762#comment-3035596

For our testing, we were using this string to get us to the chart for the node we were on:

internal:node/4/webform-results/chart


 

By peterm, 8 December, 2010

Tags

I was driven a bit crazy by trying to get the standard glossary view to show up as striped. In the views preview it worked, when looking at the page it was a solid grey. 

Two things need to be examined.

First, check the view configuration. Set the style of table to none. Set the sort order for the view. 

Second, override the modules > system > style.css entries into a local.css file. I pulled this info out to override: