WHAT IS DRUPAL? by Peter K. Johnson - Originally presented at Minnebar - April 2012 What you need The 5-minute Install Theming Nodes & CCK Views Modules Untouchable Core Taxonomy Resources photo by QuinnDombrowski - flickr.com Intro video by Matt Terry - Vimeo Using Drupal Without Knowing PHP
WHAT IS DRUPAL? PHP Framework with customizable modules and themes. Site Administrators build the house and paint the walls. Content Editors hang pictures on the wall and put fresh flower arrangements on the table. Core - Themes - Modules - Content Content is stored in a database
WHO USES DRUPAL? Stanford University The Economist Amnesty International NASA MIT Media Lab WhiteHouse.gov 16,000+ active developers - worldwide (March 2012)
WHAT YOU NEED PHP 5 (with graphic library for font rendering) MySQL PHPmyAdmin (Use MAMP or WAMP for these three.) Drush - Drupal command line utility A working knowledge of HTML & CSS and Drupal photo by pranav - flickr.com
The 5-minute Install Download - Unziphttp://drupal.org Create Database - myNewSiteName Duplicate sites/default.settings.php Rename to settings.php - Set permissions everyone read/write Create folder: sites/default/files - Set permissions everyone read/write View site: Done! photo by GammaMan - flickr.com Video Demonstration
THEMING Making a SubTheme Demon Install a Theme using Drush
Nodes & CCK photo by GreyLight - flickr.com Every content item added is a node. Story Node myContentType Node Article Node Blog Node Video Demo of CCK
VIEWS photo by Girlfierce Photography - flickr.com Building forms and viewing the data. Video Demo of Views
MODULES photo by foxKiyo - flickr.com The building blocks Behind-The-Curtain Demonstration Drush Demonstration
THE untouchable CORE Store your code inside the mySite/sites folder. Don't hack core - copy and override in mySite/sites instead. Updates will not overwrite the code in mySite/sites Have a backup system in place! photo by Mrank - flickr.com
TAXONOMY photo by juhansonin - flickr.com Putting things into categories In Taxonomy - Set up a vocabulary - type of books Set up terms for the vocabulary: Drupal -- PHP -- CSS -- Science Fiction In CCK - Add new field to the content type As New Content is added: Content Editor will select the appropriate taxonomy term from a checkbox or radio button. Video Demonstration
RESOURCES Drupal.org Drupal Groups Lullabot Lynda.com BuildAModule.com Drupal Videos Mustard Seed Media Discussion Group on LinkedIn Discussion Group on LinkedI DrupalCon Sessions Denver Chicago icagodrupal.org/ San Fransisco Special thanks to the photographers at Flickr.com who gave permission to use their photos in this presentation. Revised: April 8, 2012