21
DRUPAL 7 FOR GOVERNMENT: CASE STUDY

Drupal 7 for Government Case Study: Presentation at DrupalCamp Montreal 2012

Embed Size (px)

DESCRIPTION

BuyAndSell.gc.ca is the Government of Canada's procurement information portal. It includes information for businesses and government employees about doing business with government departments. In 2012, we undertook a project to upgrade the site to Drupal 7. The site has yet to be publicly launched. This case study will include topics such as Migrating content from Drupal 6 to Drupal 7 Using entities to model data Customing Search API Setting up a testing framework Using base themes, Features, and distributions

Citation preview

Page 1: Drupal 7 for Government Case Study: Presentation at DrupalCamp Montreal 2012

DRUPAL 7 FOR GOVERNMENT: CASE STUDY

Page 2: Drupal 7 for Government Case Study: Presentation at DrupalCamp Montreal 2012

Alex DergachevCo-founder @evolvingweb

Page 3: Drupal 7 for Government Case Study: Presentation at DrupalCamp Montreal 2012

Business Problem:• Apply the new government look and feel• Add open data features (search!)• Make the site more accessible (WCAG)

Page 4: Drupal 7 for Government Case Study: Presentation at DrupalCamp Montreal 2012

Before / After

Page 5: Drupal 7 for Government Case Study: Presentation at DrupalCamp Montreal 2012

Who is the Site For?

• Businesses who want to do business with the government

• Government employees who need to buy goods + services

Page 6: Drupal 7 for Government Case Study: Presentation at DrupalCamp Montreal 2012

What did we Do?• Upgrade the site to Drupal 7• Migrate the content from D6 to D7• Set up custom entities to store contract data• Search API customizations• Set up a testing framework• Extended the government base theme

Page 7: Drupal 7 for Government Case Study: Presentation at DrupalCamp Montreal 2012

Site Upgrade• Reduced the number of modules in use• Content migration (meta tags, taxonomy,

special fields)• Testing suite to find any content change in the

site upgrade

Page 8: Drupal 7 for Government Case Study: Presentation at DrupalCamp Montreal 2012

Testing Framework

Google Refine Jenkins

&

Page 9: Drupal 7 for Government Case Study: Presentation at DrupalCamp Montreal 2012

SearchIntegration of Search API with custom entity types

Page 10: Drupal 7 for Government Case Study: Presentation at DrupalCamp Montreal 2012

Custom Offer Entity

Page 11: Drupal 7 for Government Case Study: Presentation at DrupalCamp Montreal 2012

Custom Contract Entity

Page 12: Drupal 7 for Government Case Study: Presentation at DrupalCamp Montreal 2012

Custom Import Script• Import contract data from CSV into custom

entity types• Re-index of site for search

Page 13: Drupal 7 for Government Case Study: Presentation at DrupalCamp Montreal 2012

Events Calendar

Page 14: Drupal 7 for Government Case Study: Presentation at DrupalCamp Montreal 2012

Responsive Design

Page 15: Drupal 7 for Government Case Study: Presentation at DrupalCamp Montreal 2012

Common Look + Feel

Page 16: Drupal 7 for Government Case Study: Presentation at DrupalCamp Montreal 2012

Accessibility Requirements• WCAG Compliance• Colour contrast• Keyboard control of drop down menus/

slideshow• Adjustments to calendar HTML

Page 17: Drupal 7 for Government Case Study: Presentation at DrupalCamp Montreal 2012

Light Editor

Page 18: Drupal 7 for Government Case Study: Presentation at DrupalCamp Montreal 2012

Moderation• Used the Workbench module for content

moderation

Page 19: Drupal 7 for Government Case Study: Presentation at DrupalCamp Montreal 2012

Development Environment• Jenkins to run testing suite• Separate environment to run multisite search• ApacheSolr

Page 20: Drupal 7 for Government Case Study: Presentation at DrupalCamp Montreal 2012

Modules We Used• Features• Panels• Context• Custom Breadcrumbs• Calendar/Date• i18n• Apache Solr• Entity API

Page 21: Drupal 7 for Government Case Study: Presentation at DrupalCamp Montreal 2012

QUESTIONS?

Alex Dergachev@dergachev or @evolvingweb on Twitter