140 likes | 270 Views
Upgrading History. November Drupal@OSU Meetup. The Drupal 6 Site. Not updated between March and July 18 Custom Content Types Design strongly disliked by Faculty Lots of legacy content. The Drupal 7 Site. Upgrade only 30 Day turn around from start to finish
E N D
Upgrading History • November Drupal@OSU Meetup
The Drupal 6 Site • Not updated between March and July • 18 Custom Content Types • Design strongly dislikedby Faculty • Lots of legacy content
The Drupal 7 Site • Upgrade only • 30 Day turn around from startto finish • 6 Custom Content types in use(now has 24 total)
The Content Types • Announcements • Brief blurbs about the department • Events • Spotlight • programs, centers, sites, etc. in rotor on front page • Publications • A library of books published by faculty
The Content Types (cont) • Curriculum • To be replaced by Semesters based courses system in the future - Course descriptions database • Feature • Tightly controlled slider content - static items only, no events, seminars, or finite events except courses.
The Upgrade Process • Instructions are in UPGRADE.txt • Dev snapshot of files and database • Update all modules • Put in Maintenance mode • Enable Garland, set as theme • Disable all non-core modules (Do not uninstall)
The Upgrade Process (cont) • Remove sites/default/default.settings.php • Remove all files except sites folder and any custom folders, .htaccess, or robots.txt files • Upload Drupal 7 files • Make settings.php writable • Run update.php
Problems Encountered • Third party connections • MSSQL ODBC Connections - Curriculum Content Type
Programming Problems • Daylight Savings Time and Events • Date Format in a tpl.php ignoring time zone. Had to use: • $offset = date('Z', strtotime($field_event_date[0]['value'])); • Parsing template content • Navigating arrays in template files is a nightmare • RSS Feeds • views_datasource - Views XML
Strategy • Upgrade now, content later • Theme now, content later • Content evaluation based on traffic • No more History Intranet on site • Undergraduates, Graduates, and Alumni first • People • Courses
Modules • Adminstation menuhttp://drupal.org/project/admin_menu • Content Accesshttp://drupal.org/project/content_access • Chaos toolshttp://drupal.org/project/ctools • History CFPeople - temporaryModified Custom ASC module • Calendar, Calendar iCalhttp://drupal.org/project/calendar • Date, Date API, Date Popup, Date Tools, Date Viewshttp://drupal.org/project/dateEmail (Fields)http://drupal.org/project/emailField Permissions (Fields)http://drupal.org/project/field_permissionsField Group (Fields)http://drupal.org/project/field_group
Modules • Link (Fields)http://drupal.org/project/link • Node Reference, References, User Referencehttp://drupal.org/project/references • IMCEhttp://drupal.org/project/imce • Contact Forms (plan to remove)http://drupal.org/project/contact_forms • Image crophttp://drupal.org/project/imagefield_cropLibrarieshttp://drupal.org/project/librariesMenu breadcrumbhttp://drupal.org/project/menu_breadcrumbNice Menus (plan to remove)http://drupal.org/project/nice_menus
Modules • Pathautohttp://drupal.org/project/pathauto • Tokenhttp://drupal.org/project/token • Captchahttp://drupal.org/project/captcha • reCaptchahttp://drupal.org/project/recaptcha • Google Analyticshttp://drupal.org/project/google_analytics • IMCE Wysiwyg API bridgehttp://drupal.org/project/imce_wysiwygWysiwyghttp://drupal.org/project/wysiwygViewshttp://drupal.org/project/viewsViews Slideshow, Views Slideshow: Cycle, Views UIhttp://drupal.org/project/views_slideshow
Modules • Views XMLhttp://drupal.org/project/views_datasource • Webformhttp://drupal.org/project/webform