Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Posscon 2011 Drupal Workshop

891 views

Published on

Published in: Technology
  • D0WNL0AD FULL ▶ ▶ ▶ ▶ http://1lite.top/8cmbQ ◀ ◀ ◀ ◀
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

Posscon 2011 Drupal Workshop

  1. 1. Drupal Workshop<br />Presented by OS Solutions<br />
  2. 2. About Us<br />Company<br />Roger<br />Steven<br />Casey<br />Bryan<br />
  3. 3. Intended Audience<br />Beginner<br />Intermediate<br />Advanced<br />
  4. 4. Overview<br />To cover as much Drupal as we can in 2 hours to meet all audience levels<br />
  5. 5. drupal.org<br />Navigation<br />GIT<br />Groups<br />
  6. 6. Terminology<br />Modules<br />Blocks<br />Themes<br />Taxonomy<br />
  7. 7. Drupal Requirements<br />Linux<br />PHP<br />MySQL<br />
  8. 8. Installation<br />Dir in Apache web dir<br />Setup conf<br />Hosts (local)<br />MySQL<br />settings.php / files<br />
  9. 9. Admin Interface<br />Default<br />Admin<br />Admin Menu<br />
  10. 10. Drush<br />PHP Drop-in<br />Command Line<br />Quick Commands<br />
  11. 11. Enabling Modules<br />Download, Extract, Enable<br />New D7 Paste URL<br />Drush dl, en (den on github)<br />https://github.com/jacksinn/Moar-Drush-Commands<br />
  12. 12. Creating Content<br />Manual<br />Devel<br />Import<br />
  13. 13. Creating New Content Types<br />CCK<br />CCK Extensions<br />D7<br />
  14. 14. CCK Fields<br />Creating<br />Ordering<br />Displaying<br />
  15. 15. Node Reference<br />CCK Field Type<br />AJAX Field (easy, node title -> nid)<br />Relates nodes<br />
  16. 16. Taxonomy<br />Semantic Web<br />Similar Content<br />Use across node types<br />
  17. 17. Displaying Content<br />Block Output<br />Views Displays<br />TPL Files<br />
  18. 18. Blocks<br />Chunks of information<br />Can drop in code<br />
  19. 19. Views<br />Query Generator<br />Create pages, blocks, feeds<br />Live query results<br />
  20. 20. Views UI<br />Main interface<br />Configuration<br />Displays<br />
  21. 21. Views Displays<br />Block<br />Page<br />Feed<br />Attachment<br />
  22. 22. Views Fields<br />Items to output<br />‘select’ clause<br />Ordering, relationships<br />
  23. 23. Views Filters<br />Main Filtering<br />‘where’ clause<br />Can expose filters<br />
  24. 24. Views Sort<br />Sort query output<br />‘order by’ clause<br />Multiple options<br />
  25. 25. Views Arguments<br />Like filters<br />Limit output based on node information, relationships<br />
  26. 26. Views Relationships<br />Used to tie information / nodes together<br />‘join’ clause<br />Use with fields and filters<br />
  27. 27. Users<br />User 1<br />User 0<br />Management<br />
  28. 28. Roles<br />Logically group users<br />Share permissions<br />User may have multiple roles<br />
  29. 29. Permissions<br />What users may and may not view or modify<br />Setup by role<br />Users with multiple roles get the most liberal (‘or’ logic)<br />
  30. 30. Rules / Triggers<br />Execute actions on event<br />Generate emails<br />Create new content<br />Flagged content<br />
  31. 31. Flags<br />Allow users to mark nodes (like, report)<br />Use with triggered rules<br />By user or global <br />
  32. 32. Other Common Modules<br />Drupal relies on contrib modules to increase robustness<br />Modules on drupal.org are GPLv2 Licensed<br />
  33. 33. Context<br />Logically display items based on conditions<br />Bundle regional information to be used across many node types<br />
  34. 34. Features<br />Store logically grouped items in code<br />Helps with versioning / multiple developers<br />Can deploy to any site<br />Drush feature-update (fu)<br />
  35. 35. Nodequeue<br />Order nodes<br />Useful with sliders, promoting nodes, ad management<br />Add to queue on node page (easy)<br />
  36. 36. Pathauto<br />Generate URLs for content based on information about the node or static<br />May use tokens<br />
  37. 37. Multisite<br />Traditional drop in new sites in sites/ dir<br />Aegir GUI management of site deployment<br />
  38. 38. List of Modules<br />http://drupal.org/project/modules<br />Good ordering options<br />
  39. 39. Caching<br />CSS / JS<br />Block<br />Views<br />Squid (external)<br />
  40. 40. Production Deployment<br />Turn off UI elements<br />Caching<br />Database direction<br />Use features<br />
  41. 41. Managing Deployments<br />Core updates (backup!)<br />Drush pm-update (up)<br />Versioning<br />Only pull from prod DB never push to<br />
  42. 42. Module Development<br />Structure<br />Hooks<br />API<br />Submission Process<br />
  43. 43. Theme Development<br />Structure<br />.info<br />.tpl.php files<br />template.php<br />
  44. 44. Database Management<br />Features Export<br />DB Dump<br />Drush<br />
  45. 45. Contact<br />OS Solutions<br />http://ossolutions.org<br />888.275.4893<br />steven@ossolutions.org<br />roger@ossolutions.org<br />
  46. 46. Additional Resources<br />drupal.org<br />api.drupal.org<br />

×