SlideShare une entreprise Scribd logo
1  sur  34
Drupal:
an
overview


Matt Weaver
Web Librarian
Westlake Porter Public Library
facebook.com/mattweaver
@mattrweaver
What is Drupal?
• Content management system(CMS) / content
  management framework (CMF)
• Open source
• File structure written in PHP
• Supports several databases:
    MySQL, postgresql the most common
• Prefers Apache (over Microsoft IIS)
• Prefers Linux
What is Drupal?
                  • “Drupal is like a Lego kit.
                    Skilled developers have
                    already made the
                    building blocks - in the
                    form of contributed
                    modules - that you need
                    to create a site that suits
                    your needs…”--
                    http://drupal.org/getting
                    -started/before/overview
Some Drupal terms
• Nodes = “content types”
       stories, pages, blog entries, custom
•   Comments – attached to nodes
•   Blogs – every user gets one
•   Blocks – containers for content
•   Users
       Roles
• Modules
• Themes
• Taxonomy
Modules
• PHP-written functions that are executed to do
  something:
      Create a node
      Display an image
      Organize taxonomy terms
      Set access restrictions
      et cetera
• Core and contributed
Themes
• The layout of the site
• CSS
• Template files: php
     Custom templates for node types, front page, user
      login…
• Core and contributed
Nodes = content types
• Default types:
    Page – “policies”
    Story – announcements
• Custom:
    Content Construction Kit (CCK)
• Import modules
• node_save method
Drupal: the deets
• Nearly 11,000 modules

• Nearly 1,200 themes

• Current supported versions are 6 & 7
    Which should you choose?
      Depends on our site’s needs:
      ▫ D7 is slick, but lots of modules haven’t been written for it
        yet.
The Case for Drupal
• Versatile: allows for customization

• Extensible: “there’s a module for that”

• Sometimes Wordpress is not enough

• One Web Librarian can build a lot of
  functionality with those Lego blocks
The Case for Drupal
• For Libraries: Strong library community incl.
  library-related modules
 ▫ XC (extensible catalog)
 ▫ Sopac (integrates catalog to drupal website)
 ▫ Biblio (manage and display lists of scholarly
   publications )
 ▫ MARC (imports MARC records to nodes)
 ▫ and others
Obstacles
• Learning curve can be steep, which can increase
  development time/costs
• Nearly 11,000 modules and 1,200 themes
 ▫ Sometimes poorly maintained/abandoned
 ▫ Only as good as the developer who wrote them
• Quality of support
Obstacles
• Getting more complex:
  ▫ Lines between data structures getting
    blurred/overridden/emended

• Can be overkill for a small site
  ▫ Sometimes Wordpress is better
The Drupal
Development
stack:
The further down you
go, the more damage
errors can do to your
site.
Essential Modules
• Content Construction Kit (CCK)
 ▫ Custom node type: eresource
                                                 taxonomy

                             Node Title

                    Default node “body”




            Link fields




                          Attached image/image field
Essential Modules
• Views module:
  framework for
  displaying
  database data
  from queries
• User interface,
  not SQL
  commands
• Simple to
  complex
                    A table view of a custom content type
Essential Modules:
Panels
   • Panels:
     templates for
     pages/nodes
   • Override theme
     restrictions
   • Incorporate
     blocks, nodes,
     views
   • Can restrict
     access to
     specific panels
A Panel Dissected
Custom                   Rotating
content                    image
just in this          Slideshow(
panel.                    Views)


Tabbed
                      Block: used
block
                         on other
(quicktabs
                           pages
module)
that
displays                  Block of
views                   Feed data
                      (aggregator
Another                  Module)
Quicktabs
block


Node content
(page)
Drupal at WPPL
         Main site and three subsites
Drupal at WPPL
Drupal at WPPL
Drupal at WPPL
Drupal at WPPL

Intranet
Online forms w/ email notification:
        Online Incident Report Form (CCK): automatically emails form to
        director/assistant directors

        Online meeting signup

        Maintenance Request form

Subsite for tech support staff: knowledge management system/repository
Multisite
• One instance of Drupal core
• If one module is used in all sites
  (CCK, Views, Panels) install it
  once
• Install distinct modules for
  subsite in that site directory only
• Easier to maintain, lightweight
• Lots of ways to do multisite
• Some reconfiguring of Apache,
  other subsystems.
XHTML & CSS
• Themes
 ▫ Choosing/buying
 ▫ Rolling your own
 ▫ Theming hacks (views, node templates)
• Node content
 ▫ Text editors offer some control, depending on the
   user.
Other uses
Opportunities to create cost savings by building
 functionality provided by vendors
 ▫ Room reservation
 ▫ Course reserves
 ▫ libguides
Drupal Skills
• Get your hands dirty
• Foundation of XHTML & CSS will serve you very well
• Database stuff
  ▫ Basic SQL commands
  ▫ Understanding the Drupal database
  ▫ Maintenance: module updates/upgrades
  ▫ Errors: Can destroy your site
Drupal Skills
                       <?php
• PHP                  $path_pieces = explode('/',
 ▫ At least a little   drupal_get_path_alias($_GET
 ▫ Use/hack existing   ['q']));?><p style="text-align:
                       center;"><a
   scripts/snippets    href="/movielists/?
 ▫ Develop your own    q=taxonomy/term/<?php print
                       $path_pieces[2]; ?
   theme               >/moviecatexport"
 ▫ Theming Views       onMouseOver="ImageOnly1.s
 ▫ Errors: Can break   rc='/sites/www.westlakelibrary
                       .org.movielists/modules/movie
   your site.          cat/images/new_download_h
                       over.png'"…
                        A real drupal snippet, trapped
                        in the wild.
Development guidelines
 • Never do development on a production server


                    This setup is good




                 Test site:               Production server:
(all development work from experimental
           to production quality)
Development guidelines

                     This setup is better




     Test site                                            Production server
(crash test dummy)            Staging Server:
                      Stores backup of production site:
                               Minor tweaks
How to play with Drupal
• Xampp: preconfigured web server environment
  (free)
      Apache
      Mysql
      PHP
      Phpmyadmin (GUI for database)
      For Mac, Linux and Windows
• Plenty of tutorials for installing xampp
• Drupal.org
• A good tutorial on installing Drupal 6 on
  xampp:
 ▫ http://bit.ly/ds3Wp
To learn more
To learn more




ALA Library Technology Report:      Using Drupal       Great book on theming
      Drupal in Libraries         Excellent General
                                 Text for Webmasters
Get Help
• Drupal4Lib – Listserv : essential

       Friendly, knowledgeable, helpful participants
       Responsive


•   Drupalove.com
•   Lullabot.com – incl. podcast
•   Gotdrupal.com
•   Yadadrop.com/drupal-video
Get Help
• Drupal.com/community
  ▫ Module/theme issues
  ▫ Forums

• Groups.drupal.org – can be local, regional; or can be
  topic-specific

Contenu connexe

Tendances

My site is slow
My site is slowMy site is slow
My site is slow
hernanibf
 
Learning PHP for Drupal Theming, DC Chicago 2009
Learning PHP for Drupal Theming, DC Chicago 2009Learning PHP for Drupal Theming, DC Chicago 2009
Learning PHP for Drupal Theming, DC Chicago 2009
Emma Jane Hogbin Westby
 
Anatomy and Architecture of a WordPress Theme
Anatomy and Architecture of a WordPress ThemeAnatomy and Architecture of a WordPress Theme
Anatomy and Architecture of a WordPress Theme
Julie Kuehl
 
Drupal content editor flexibility
Drupal content editor flexibilityDrupal content editor flexibility
Drupal content editor flexibility
hernanibf
 
Custom Post Types in Depth at WordCamp Montreal
Custom Post Types in Depth at WordCamp MontrealCustom Post Types in Depth at WordCamp Montreal
Custom Post Types in Depth at WordCamp Montreal
Joey Kudish
 
How to start developing apps for Firefox OS
How to start developing apps for Firefox OSHow to start developing apps for Firefox OS
How to start developing apps for Firefox OS
benko
 

Tendances (20)

WordCamp 2012 - WordPress Webapps
WordCamp 2012 - WordPress WebappsWordCamp 2012 - WordPress Webapps
WordCamp 2012 - WordPress Webapps
 
Intro to drupal
Intro to drupalIntro to drupal
Intro to drupal
 
Exploring Omeka
Exploring OmekaExploring Omeka
Exploring Omeka
 
My site is slow
My site is slowMy site is slow
My site is slow
 
Learning PHP for Drupal Theming, DC Chicago 2009
Learning PHP for Drupal Theming, DC Chicago 2009Learning PHP for Drupal Theming, DC Chicago 2009
Learning PHP for Drupal Theming, DC Chicago 2009
 
Anatomy and Architecture of a WordPress Theme
Anatomy and Architecture of a WordPress ThemeAnatomy and Architecture of a WordPress Theme
Anatomy and Architecture of a WordPress Theme
 
Git Makes Me Angry Inside
Git Makes Me Angry InsideGit Makes Me Angry Inside
Git Makes Me Angry Inside
 
Epub ppt
Epub pptEpub ppt
Epub ppt
 
Day 8 - jRuby
Day 8 - jRubyDay 8 - jRuby
Day 8 - jRuby
 
Drupal content editor flexibility
Drupal content editor flexibilityDrupal content editor flexibility
Drupal content editor flexibility
 
1.6 米嘉 gobuildweb
1.6 米嘉 gobuildweb1.6 米嘉 gobuildweb
1.6 米嘉 gobuildweb
 
Custom Post Types in Depth at WordCamp Montreal
Custom Post Types in Depth at WordCamp MontrealCustom Post Types in Depth at WordCamp Montreal
Custom Post Types in Depth at WordCamp Montreal
 
How to start developing apps for Firefox OS
How to start developing apps for Firefox OSHow to start developing apps for Firefox OS
How to start developing apps for Firefox OS
 
My Site is slow - Drupal Camp London 2013
My Site is slow - Drupal Camp London 2013My Site is slow - Drupal Camp London 2013
My Site is slow - Drupal Camp London 2013
 
Web Ninja
Web NinjaWeb Ninja
Web Ninja
 
Creating Dynamic Landing Pages for Drupal with Panels - Webinar
Creating Dynamic Landing Pages for Drupal with Panels - WebinarCreating Dynamic Landing Pages for Drupal with Panels - Webinar
Creating Dynamic Landing Pages for Drupal with Panels - Webinar
 
Zurb foundation
Zurb foundationZurb foundation
Zurb foundation
 
@wcmtl
@wcmtl@wcmtl
@wcmtl
 
Power to the People: Manipulating SharePoint with Client-Side JavaScript
Power to the People:  Manipulating SharePoint with Client-Side JavaScriptPower to the People:  Manipulating SharePoint with Client-Side JavaScript
Power to the People: Manipulating SharePoint with Client-Side JavaScript
 
wcmia2011
wcmia2011wcmia2011
wcmia2011
 

En vedette (6)

Scaling drupal with confidence - Tweentribune Casestudy
Scaling drupal with confidence - Tweentribune CasestudyScaling drupal with confidence - Tweentribune Casestudy
Scaling drupal with confidence - Tweentribune Casestudy
 
2008 11 14 Google Oss Stanford
2008 11 14 Google Oss Stanford2008 11 14 Google Oss Stanford
2008 11 14 Google Oss Stanford
 
Highlights from DrupalCon2010 SF
Highlights from DrupalCon2010 SFHighlights from DrupalCon2010 SF
Highlights from DrupalCon2010 SF
 
Drupal Performance
Drupal PerformanceDrupal Performance
Drupal Performance
 
Drupal atsls what-next-bad_camp-2012
Drupal atsls what-next-bad_camp-2012Drupal atsls what-next-bad_camp-2012
Drupal atsls what-next-bad_camp-2012
 
Drupalcamp Estonia - High Performance Sites
Drupalcamp Estonia - High Performance SitesDrupalcamp Estonia - High Performance Sites
Drupalcamp Estonia - High Performance Sites
 

Similaire à Drupal: an Overview

Introduction To Drupal
Introduction To DrupalIntroduction To Drupal
Introduction To Drupal
Lauren Roth
 
One Drupal to rule them all - Drupalcamp London
One Drupal to rule them all - Drupalcamp LondonOne Drupal to rule them all - Drupalcamp London
One Drupal to rule them all - Drupalcamp London
hernanibf
 
5 Common Mistakes You are Making on your Website
 5 Common Mistakes You are Making on your Website 5 Common Mistakes You are Making on your Website
5 Common Mistakes You are Making on your Website
Acquia
 
Open Source Content Management Systems
Open Source Content Management SystemsOpen Source Content Management Systems
Open Source Content Management Systems
Matthew Turland
 
One drupal to rule them all - Drupalcamp Caceres
One drupal to rule them all - Drupalcamp CaceresOne drupal to rule them all - Drupalcamp Caceres
One drupal to rule them all - Drupalcamp Caceres
hernanibf
 

Similaire à Drupal: an Overview (20)

Drupal Skils Lab 302Labs
Drupal Skils Lab 302Labs Drupal Skils Lab 302Labs
Drupal Skils Lab 302Labs
 
72d5drupal
72d5drupal72d5drupal
72d5drupal
 
Drupal upgrades and migrations. BAD Camp 2013 version
Drupal upgrades and migrations. BAD Camp 2013 versionDrupal upgrades and migrations. BAD Camp 2013 version
Drupal upgrades and migrations. BAD Camp 2013 version
 
Top 8 Improvements in Drupal 8
Top 8 Improvements in Drupal 8Top 8 Improvements in Drupal 8
Top 8 Improvements in Drupal 8
 
Drupal Overview For Techies
Drupal Overview For TechiesDrupal Overview For Techies
Drupal Overview For Techies
 
Introduction To Drupal
Introduction To DrupalIntroduction To Drupal
Introduction To Drupal
 
Everything You Need to Know About the Top Changes in Drupal 8
Everything You Need to Know About the Top Changes in Drupal 8Everything You Need to Know About the Top Changes in Drupal 8
Everything You Need to Know About the Top Changes in Drupal 8
 
Phase2 Large Drupal Multisites (gta case study)
Phase2   Large Drupal Multisites (gta case study)Phase2   Large Drupal Multisites (gta case study)
Phase2 Large Drupal Multisites (gta case study)
 
Rapid site production with Drupal
Rapid site production with DrupalRapid site production with Drupal
Rapid site production with Drupal
 
One Drupal to rule them all - Drupalcamp London
One Drupal to rule them all - Drupalcamp LondonOne Drupal to rule them all - Drupalcamp London
One Drupal to rule them all - Drupalcamp London
 
Pure Speed Drupal 4 Gov talk
Pure Speed Drupal 4 Gov talkPure Speed Drupal 4 Gov talk
Pure Speed Drupal 4 Gov talk
 
Drupal theming - a practical approach (European Drupal Days 2015)
Drupal theming - a practical approach (European Drupal Days 2015)Drupal theming - a practical approach (European Drupal Days 2015)
Drupal theming - a practical approach (European Drupal Days 2015)
 
DrupalCampLA 2014 - Drupal backend performance and scalability
DrupalCampLA 2014 - Drupal backend performance and scalabilityDrupalCampLA 2014 - Drupal backend performance and scalability
DrupalCampLA 2014 - Drupal backend performance and scalability
 
Drupal 7 - The Top 40 Core Modules and What They Mean for You
Drupal 7 - The Top 40 Core Modules and What They Mean for YouDrupal 7 - The Top 40 Core Modules and What They Mean for You
Drupal 7 - The Top 40 Core Modules and What They Mean for You
 
5 Common Mistakes You are Making on your Website
 5 Common Mistakes You are Making on your Website 5 Common Mistakes You are Making on your Website
5 Common Mistakes You are Making on your Website
 
Drupal, git and sanity
Drupal, git and sanityDrupal, git and sanity
Drupal, git and sanity
 
Drupal 7
Drupal 7Drupal 7
Drupal 7
 
Open Source Content Management Systems
Open Source Content Management SystemsOpen Source Content Management Systems
Open Source Content Management Systems
 
Drupal 8 theming deep dive
Drupal 8 theming deep diveDrupal 8 theming deep dive
Drupal 8 theming deep dive
 
One drupal to rule them all - Drupalcamp Caceres
One drupal to rule them all - Drupalcamp CaceresOne drupal to rule them all - Drupalcamp Caceres
One drupal to rule them all - Drupalcamp Caceres
 

Dernier

Terna - 1Q 2024 Consolidated Results Presentation
Terna - 1Q 2024 Consolidated Results PresentationTerna - 1Q 2024 Consolidated Results Presentation
Terna - 1Q 2024 Consolidated Results Presentation
Terna SpA
 
Corporate Presentation Probe Canaccord Conference 2024.pdf
Corporate Presentation Probe Canaccord Conference 2024.pdfCorporate Presentation Probe Canaccord Conference 2024.pdf
Corporate Presentation Probe Canaccord Conference 2024.pdf
Probe Gold
 

Dernier (20)

Terna - 1Q 2024 Consolidated Results Presentation
Terna - 1Q 2024 Consolidated Results PresentationTerna - 1Q 2024 Consolidated Results Presentation
Terna - 1Q 2024 Consolidated Results Presentation
 
SME IPO Opportunity and Trends of May 2024
SME IPO Opportunity and Trends of May 2024SME IPO Opportunity and Trends of May 2024
SME IPO Opportunity and Trends of May 2024
 
Osisko Gold Royalties Ltd - Q1 2024 Results
Osisko Gold Royalties Ltd - Q1 2024 ResultsOsisko Gold Royalties Ltd - Q1 2024 Results
Osisko Gold Royalties Ltd - Q1 2024 Results
 
Corporate Presentation Probe Canaccord Conference 2024.pdf
Corporate Presentation Probe Canaccord Conference 2024.pdfCorporate Presentation Probe Canaccord Conference 2024.pdf
Corporate Presentation Probe Canaccord Conference 2024.pdf
 
Diligence Checklist for Early Stage Startups
Diligence Checklist for Early Stage StartupsDiligence Checklist for Early Stage Startups
Diligence Checklist for Early Stage Startups
 
Financial Results for the Fiscal Year Ended March 2024
Financial Results for the Fiscal Year Ended March 2024Financial Results for the Fiscal Year Ended March 2024
Financial Results for the Fiscal Year Ended March 2024
 
Collective Mining | Corporate Presentation - May 2024
Collective Mining | Corporate Presentation - May 2024Collective Mining | Corporate Presentation - May 2024
Collective Mining | Corporate Presentation - May 2024
 
Camil Institutional Presentation_Mai24.pdf
Camil Institutional Presentation_Mai24.pdfCamil Institutional Presentation_Mai24.pdf
Camil Institutional Presentation_Mai24.pdf
 
Teekay Tankers Q1-24 Earnings Presentation
Teekay Tankers Q1-24 Earnings PresentationTeekay Tankers Q1-24 Earnings Presentation
Teekay Tankers Q1-24 Earnings Presentation
 
Osisko Gold Royalties Ltd - Corporate Presentation, May 2024
Osisko Gold Royalties Ltd - Corporate Presentation, May 2024Osisko Gold Royalties Ltd - Corporate Presentation, May 2024
Osisko Gold Royalties Ltd - Corporate Presentation, May 2024
 
Teekay Corporation Q1-24 Earnings Results
Teekay Corporation Q1-24 Earnings ResultsTeekay Corporation Q1-24 Earnings Results
Teekay Corporation Q1-24 Earnings Results
 
Osisko Development - Investor Presentation - May 2024
Osisko Development - Investor Presentation - May 2024Osisko Development - Investor Presentation - May 2024
Osisko Development - Investor Presentation - May 2024
 
AMG Quarterly Investor Presentation May 2024
AMG Quarterly Investor Presentation May 2024AMG Quarterly Investor Presentation May 2024
AMG Quarterly Investor Presentation May 2024
 
countries with the highest gold reserves in 2024
countries with the highest gold reserves in 2024countries with the highest gold reserves in 2024
countries with the highest gold reserves in 2024
 
Nicola Mining Inc. Corporate Presentation May 2024
Nicola Mining Inc. Corporate Presentation May 2024Nicola Mining Inc. Corporate Presentation May 2024
Nicola Mining Inc. Corporate Presentation May 2024
 
The Leonardo 1Q 2024 Results Presentation
The Leonardo 1Q 2024 Results PresentationThe Leonardo 1Q 2024 Results Presentation
The Leonardo 1Q 2024 Results Presentation
 
ITAU EQUITY_STRATEGY_WARM_UP_20240505 DHG.pdf
ITAU EQUITY_STRATEGY_WARM_UP_20240505 DHG.pdfITAU EQUITY_STRATEGY_WARM_UP_20240505 DHG.pdf
ITAU EQUITY_STRATEGY_WARM_UP_20240505 DHG.pdf
 
Camil Institutional Presentation_Mai24.pdf
Camil Institutional Presentation_Mai24.pdfCamil Institutional Presentation_Mai24.pdf
Camil Institutional Presentation_Mai24.pdf
 
Western Copper and Gold - May 2024 Presentation
Western Copper and Gold - May 2024 PresentationWestern Copper and Gold - May 2024 Presentation
Western Copper and Gold - May 2024 Presentation
 
Teck Supplemental Information, May 2, 2024
Teck Supplemental Information, May 2, 2024Teck Supplemental Information, May 2, 2024
Teck Supplemental Information, May 2, 2024
 

Drupal: an Overview

  • 1. Drupal: an overview Matt Weaver Web Librarian Westlake Porter Public Library facebook.com/mattweaver @mattrweaver
  • 2. What is Drupal? • Content management system(CMS) / content management framework (CMF) • Open source • File structure written in PHP • Supports several databases:  MySQL, postgresql the most common • Prefers Apache (over Microsoft IIS) • Prefers Linux
  • 3. What is Drupal? • “Drupal is like a Lego kit. Skilled developers have already made the building blocks - in the form of contributed modules - that you need to create a site that suits your needs…”-- http://drupal.org/getting -started/before/overview
  • 4. Some Drupal terms • Nodes = “content types”  stories, pages, blog entries, custom • Comments – attached to nodes • Blogs – every user gets one • Blocks – containers for content • Users  Roles • Modules • Themes • Taxonomy
  • 5. Modules • PHP-written functions that are executed to do something:  Create a node  Display an image  Organize taxonomy terms  Set access restrictions  et cetera • Core and contributed
  • 6. Themes • The layout of the site • CSS • Template files: php  Custom templates for node types, front page, user login… • Core and contributed
  • 7. Nodes = content types • Default types:  Page – “policies”  Story – announcements • Custom:  Content Construction Kit (CCK) • Import modules • node_save method
  • 8. Drupal: the deets • Nearly 11,000 modules • Nearly 1,200 themes • Current supported versions are 6 & 7  Which should you choose?  Depends on our site’s needs: ▫ D7 is slick, but lots of modules haven’t been written for it yet.
  • 9. The Case for Drupal • Versatile: allows for customization • Extensible: “there’s a module for that” • Sometimes Wordpress is not enough • One Web Librarian can build a lot of functionality with those Lego blocks
  • 10. The Case for Drupal • For Libraries: Strong library community incl. library-related modules ▫ XC (extensible catalog) ▫ Sopac (integrates catalog to drupal website) ▫ Biblio (manage and display lists of scholarly publications ) ▫ MARC (imports MARC records to nodes) ▫ and others
  • 11. Obstacles • Learning curve can be steep, which can increase development time/costs • Nearly 11,000 modules and 1,200 themes ▫ Sometimes poorly maintained/abandoned ▫ Only as good as the developer who wrote them • Quality of support
  • 12. Obstacles • Getting more complex: ▫ Lines between data structures getting blurred/overridden/emended • Can be overkill for a small site ▫ Sometimes Wordpress is better
  • 13. The Drupal Development stack: The further down you go, the more damage errors can do to your site.
  • 14. Essential Modules • Content Construction Kit (CCK) ▫ Custom node type: eresource taxonomy Node Title Default node “body” Link fields Attached image/image field
  • 15. Essential Modules • Views module: framework for displaying database data from queries • User interface, not SQL commands • Simple to complex A table view of a custom content type
  • 16. Essential Modules: Panels • Panels: templates for pages/nodes • Override theme restrictions • Incorporate blocks, nodes, views • Can restrict access to specific panels
  • 17. A Panel Dissected Custom Rotating content image just in this Slideshow( panel. Views) Tabbed Block: used block on other (quicktabs pages module) that displays Block of views Feed data (aggregator Another Module) Quicktabs block Node content (page)
  • 18. Drupal at WPPL Main site and three subsites
  • 22. Drupal at WPPL Intranet Online forms w/ email notification: Online Incident Report Form (CCK): automatically emails form to director/assistant directors Online meeting signup Maintenance Request form Subsite for tech support staff: knowledge management system/repository
  • 23. Multisite • One instance of Drupal core • If one module is used in all sites (CCK, Views, Panels) install it once • Install distinct modules for subsite in that site directory only • Easier to maintain, lightweight • Lots of ways to do multisite • Some reconfiguring of Apache, other subsystems.
  • 24. XHTML & CSS • Themes ▫ Choosing/buying ▫ Rolling your own ▫ Theming hacks (views, node templates) • Node content ▫ Text editors offer some control, depending on the user.
  • 25. Other uses Opportunities to create cost savings by building functionality provided by vendors ▫ Room reservation ▫ Course reserves ▫ libguides
  • 26. Drupal Skills • Get your hands dirty • Foundation of XHTML & CSS will serve you very well • Database stuff ▫ Basic SQL commands ▫ Understanding the Drupal database ▫ Maintenance: module updates/upgrades ▫ Errors: Can destroy your site
  • 27. Drupal Skills <?php • PHP $path_pieces = explode('/', ▫ At least a little drupal_get_path_alias($_GET ▫ Use/hack existing ['q']));?><p style="text-align: center;"><a scripts/snippets href="/movielists/? ▫ Develop your own q=taxonomy/term/<?php print $path_pieces[2]; ? theme >/moviecatexport" ▫ Theming Views onMouseOver="ImageOnly1.s ▫ Errors: Can break rc='/sites/www.westlakelibrary .org.movielists/modules/movie your site. cat/images/new_download_h over.png'"… A real drupal snippet, trapped in the wild.
  • 28. Development guidelines • Never do development on a production server This setup is good Test site: Production server: (all development work from experimental to production quality)
  • 29. Development guidelines This setup is better Test site Production server (crash test dummy) Staging Server: Stores backup of production site: Minor tweaks
  • 30. How to play with Drupal • Xampp: preconfigured web server environment (free)  Apache  Mysql  PHP  Phpmyadmin (GUI for database)  For Mac, Linux and Windows • Plenty of tutorials for installing xampp • Drupal.org • A good tutorial on installing Drupal 6 on xampp: ▫ http://bit.ly/ds3Wp
  • 32. To learn more ALA Library Technology Report: Using Drupal Great book on theming Drupal in Libraries Excellent General Text for Webmasters
  • 33. Get Help • Drupal4Lib – Listserv : essential  Friendly, knowledgeable, helpful participants  Responsive • Drupalove.com • Lullabot.com – incl. podcast • Gotdrupal.com • Yadadrop.com/drupal-video
  • 34. Get Help • Drupal.com/community ▫ Module/theme issues ▫ Forums • Groups.drupal.org – can be local, regional; or can be topic-specific

Notes de l'éditeur

  1. A CMS provides webmasters with tools for building sites. A CMF provides an advanced programming interface so developers can configure and customize their own tools