Drupal WorkshopPresented by OS Solutions
About UsCompanyRogerStevenCaseyBryan
Intended AudienceBeginnerIntermediateAdvanced
OverviewTo cover as much Drupal as we can in 2 hours to meet all audience levels
drupal.orgNavigationGITGroups
TerminologyModulesBlocksThemesTaxonomy
Drupal RequirementsLinuxPHPMySQL
InstallationDir in Apache web dirSetup confHosts (local)MySQLsettings.php / files
Admin InterfaceDefaultAdminAdmin Menu
DrushPHP Drop-inCommand LineQuick Commands
Enabling ModulesDownload, Extract, EnableNew D7 Paste URLDrush dl, en (den on github)https://github.com/jacksinn/Moar-Drush-Commands
Creating ContentManualDevelImport
Creating New Content TypesCCKCCK ExtensionsD7
CCK FieldsCreatingOrderingDisplaying
Node ReferenceCCK Field TypeAJAX Field (easy, node title -> nid)Relates nodes
TaxonomySemantic WebSimilar ContentUse across node types
Displaying ContentBlock OutputViews DisplaysTPL Files
BlocksChunks of informationCan drop in code
ViewsQuery GeneratorCreate pages, blocks, feedsLive query results
Views UIMain interfaceConfigurationDisplays
Views DisplaysBlockPageFeedAttachment
Views FieldsItems to output‘select’ clauseOrdering, relationships
Views FiltersMain Filtering‘where’ clauseCan expose filters
Views SortSort query output‘order by’ clauseMultiple options
Views ArgumentsLike filtersLimit output based on node information, relationships
Views RelationshipsUsed to tie information / nodes together‘join’ clauseUse with fields and filters
UsersUser 1User 0Management
RolesLogically group usersShare permissionsUser may have multiple roles
PermissionsWhat users may and may not view or modifySetup by roleUsers with multiple roles get the most liberal (‘or’ logic)
Rules / TriggersExecute actions on eventGenerate emailsCreate new contentFlagged content
FlagsAllow users to mark nodes (like, report)Use with triggered rulesBy user or global
Other Common ModulesDrupal relies on contrib modules to increase robustnessModules on drupal.org are GPLv2 Licensed
ContextLogically display items based on conditionsBundle regional information to be used across many node types
FeaturesStore logically grouped items in codeHelps with versioning / multiple developersCan deploy to any siteDrush feature-update (fu)
NodequeueOrder nodesUseful with sliders, promoting nodes, ad managementAdd to queue on node page (easy)
PathautoGenerate URLs for content based on information about the node or staticMay use tokens
MultisiteTraditional drop in new sites in sites/ dirAegir GUI management of site deployment
List of Moduleshttp://drupal.org/project/modulesGood ordering options
CachingCSS / JSBlockViewsSquid (external)
Production DeploymentTurn off UI elementsCachingDatabase directionUse features
Managing DeploymentsCore updates (backup!)Drush pm-update (up)VersioningOnly pull from prod DB never push to
Module DevelopmentStructureHooksAPISubmission Process
Theme DevelopmentStructure.info.tpl.php filestemplate.php
Database ManagementFeatures ExportDB DumpDrush
ContactOS Solutionshttp://ossolutions.org888.275.4893steven@ossolutions.orgroger@ossolutions.org
Additional Resourcesdrupal.orgapi.drupal.org

Posscon 2011 Drupal Workshop