45 Minute Drupal Site

Embed Size (px)

DESCRIPTION

Building a site in Drupal

Citation preview

  • 1. Drupal Corporate Brochurein 45 Minutes
      • Pratt Web Services

2. Drupal Dec 2000 3. Drupal Sept 2001 4.

  • Managers/Owners
    • Easy
    • Flexible
    • Stable
    • Modular
  • Developers
    • To stimulate a discussion about the basics of Drupal.

5. Drupal Drool

  • http://www.fastcompany.com/
  • http://www.herron.iupui.edu/
  • http://michaelbuble.com/
  • http://diamond.businessobjects.com/
  • http://purcellmountainlodge.com
  • IBM, Sony BMG, AOL...
  • http://sandbox.anguspratt.com

6.

  • Planning
  • Installing
  • Configuring
  • Best Practices

7. Front Page Products News Contact Us 8. Planning Functionality

  • Rich Text Editor
  • Spam Control
  • Search Engine Friendly
  • Google Analytics
  • Image Management
  • Administration Menu
  • Update Status

9. Web Hosting

  • PHP4 (4.3.5 or greater) or PHP5
  • MySQL, version 4.1or greater
  • Web Server - Apache preferred
    • Windows IIS possible
  • Apache 'mod_rewrite' extension for clean urls
  • Other little gotchas (Register_Globals) Check Drupal documentation

10. Installing

  • FTP
  • Shell / SSH / Command line
    • wget
    • tar -xvzf
  • DATABASE
    • Database name
    • User and Password
    • Host (uses localhost by default)

11. Finding Modules

  • Spam control -http://drupal.org/project/akismet
  • Google Analytics -http://drupal.org/project/google_analytics
  • Pathauto -http://drupal.org/project/pathauto
  • requires Token -http://drupal.org/project/token
  • Update module -http://drupal.org/project/update_status

12.

  • TinyMCE -http://drupal.org/project/tinyMCE
    • use auto Configurationhttp://drupal.org/project/tinymce_autoconf
  • Images -http://drupal.org/project/image
  • Image Assist -http://drupal.org/project/img_assist
  • Administration menu -http://drupal.org/project/admin_menu

13. Site Configuration

  • Create the first user
  • Go to admin page handle errors
  • Site configuration - file system
  • Enable clean URLs
  • Enable modules
  • Create roles
  • Create second user use it

14. Add Content

  • Stuff

15. Creating News

  • 1. Create a vocabulary (administercategoriesadd vocabulary tab) called "News" with "story" checked under "Types:", "Hierarchy:", set to "Disabled", "Multiple select" unchecked and "Required" checked
  • 2. Create terms (administercategoriesadd terms) under this "News" Vocabulary as follows: "News", "Media Releases" and "Events"

16. News 2

  • 1. AdministerViewsAdd tab
  • 2. Under "Name", enter "recent_stories"
  • 3. Under "Page"
  • 1. Check "Provide Page View
  • 2. Under "URL" enter "news"
  • 3. Under "View Type:" select "Teaser List"
  • 4. Under "Title:" enter "Recent News"

17. News 3

  • 4. Under "Block"
  • 1. check "Provide Block"
  • 2. Under View Type", select "List View"
  • 3. Under "Title", enter "Recent News"
  • 4. Under "Nodes per Block:", enter "5"

18. News 4

  • 5. Under "Fields"
  • 1. Under "Add Field" select "Node: Title" and click "Add Field" and leave the default options unchanged

19. News 5

  • 6. Under "Filters":
  • 1. Under "Add Filter" select "Node: Published" and click "Add Filter" and leave the default options unchanged
  • 2. Under "Add Filter" select "Node: Type" and click "Add Filter" and change "Value" to "Story" by clicking on "Story"

20. News 6

  • 7. Under "Sort Criteria:"
  • 1. Under "Add criteria" select "Node: Updated Time" and click "Add Criteria"
  • 2. Select "Descending" under "Order" to show the list of News items sorted reverse chronologically by time.

21. Best Practices

  • Don't Hack Core!
  • Accounts and Roles
  • Plan for the future (upgrades)
  • Back up both the database and the files
  • Use sites/all/modules and sites/all/themes
  • Avoid spaces in any directory name

22. Get Involved in the Community