Drupal
Drupal.Stanford.edu: Stanford Drupal Resources
Posted September 24th, 2009 by skrossaStanford has a very active and engaged Drupal community[1]. These are some of the Stanford specific resources for Drupal:
Prime Your Cache with a Cron Job
Posted December 7th, 2012 by John BickarProperly configuring caching on a Drupal site is one of the most important things that a site administrator can do to improve performance. Caching represents a tradeoff between speed and "freshness" of content, however. There are some tools, such as the Boost crawler, that can prime your cache.
(See also: Load Page Cache after Cron Runs.)
Stanford Sites - Backup and Migrate Files in dev
Posted September 30th, 2012 by mstoaksHi all,
For a personal stanford sites site (i.e. people.stanford.edu/mstoaks) Is it correct that the module "Backup and Migrate Files" is only available in production and not in dev (people-dev.stanford.edu/mstoaks)?
Thanks!
Max
Drupal 6 to Drupal 7 Migration Worksheet
Posted September 25th, 2012 by John BickarRationale for This Document
An upgrade of a Drupal 6 website is a complex proposition. As a general rule of thumb, many professional Drupal development teams approach a major Drupal version upgrade as a new site development project, and estimate anywhere from 60-80% of the original development resources (time, money) for the upgrade.
drush sqlq formatting
Posted July 16th, 2012 by John BickarHow To
Ever get frustrated about the output from 'drush sqlq'?
Add '--extra="-t"' to your 'drush sqlq' command, and get a nicely-formatted table. ("--extra" allows you to include any options you would pass to 'mysql').
(Run 'man mysql' to see more options to pass to '--extra'.)
Drupal 6 Installation Instructions
Posted May 3rd, 2012 by mrmarcoThere are two ways you can run Drupal 6.x at Stanford.
Stanford Sites
Request your Drupal 6.x site on the Stanford Sites service. This is open to everyone, including individuals. Installation is easy and code updates and maintenance are handled by IT Services. You can't install your own modules or themes, but installations come with plenty of pre-installed modules chosen by the community. Read more at sites.stanford.edu.
Drupal and Virtual Host Proxies on the WWW Servers
Posted April 13th, 2012 by John BickarIn fall 2011, the web infrastructure team in IT Services made some changes to how virtual host (vhost) proxies are handled. Previously, all proxies were on a dedicated pool of proxy servers (proxy1.stanford.edu, proxy2.stanford.edu, proxy3.stanford.edu). This configuration required the use of the Reverse Proxy module. The infrastructure team is in the process of moving all existing proxies onto the www servers themselves.
Drupal 7 hook_block_info() and hook_block_view() Strange Behaviors
Posted April 6th, 2012 by John BickarIf you are developing a custom module with custom blocks in Drupal 7, using hook_block_info() and hook_block_view(), and you are finding that when you make changes to the code and they don't show up in the block, or you change the name of your delta and get an "undefined variable: block" error message, despite obsessively clearing your cache and enabling/disabling the module, try this:
WMD and 8-Character SUNet IDs
Posted February 3rd, 2012 by John Bickar(per Marco, 2.1.2012)
== Symptoms
Users with 8 character long SUNetIDs can't log into your Drupal site using WebAuth. Other users have no issue.
== Triggers
There is a bug in the WebAuth module for Drupal that's triggered under the following conditions:
* vanity URL is handled by the Reverse Proxy servers
* WMD 2.55 or 2.56 (possibly earlier ones as well)
* SUNetID of person logging in is 8 characters long
== The Cause
Boost
Posted December 8th, 2011 by John BickarOverview
Boost "provides static page caching for Drupal enabling a very significant performance and scalability boost for sites that receive mostly anonymous traffic". With the move of proxies to the WWW servers (January 2012), it is possible to install and configure it in the Stanford Leland web environment.
