SlideShare a Scribd company logo
Drupal ThemingFor BeginnersBy Danté TaylorMediacurrent Senior DesignerSouth East Linux FestJune 13, 2010
We will coverWhat is Drupal?What is a Drupal Theme?Contributed Drupal Themes, Engines, & ServicesWhat can you do with Drupal themes?Drupal Theme Anatomy 101How to Design for DrupalCreate a Drupal Theme the easy wayWhere to find help`
About MeBachelor of Fine Arts (BFA) from Savannah College of Art and DesignWorked as a Designer for 10 yearsHave worked with Drupal since version 4.7 release (5 years)Biggest project worked on in Drupal is savannahnow.comFavorite project worked on in Drupal is ymib.com`
What is Drupal?Content Management System (CMS)Application Programming Interface (API) built on top of PHPA community of more than 800,000+ users and developers contributing to build needed tools, services, and programs using a standard methodology or practices. There are more than 6,000+ profiles, modules, and themes supported by the Drupal community People who use Drupal include: Ubuntu.com, Whitehouse.gov, FastCompany.com, MTV.com`
What is a Drupal Theme?A set of files and templates used to build the Front-end of a Drupal site.The User-Facing section of a Drupal site that facilitates the majority of the user experience.To put it in Real Estate terms it is the Décor of a Web Site.  `
Contributed Drupal Themes, Engines, & ServicesZen Theme (Themes)Garland Theme* (Themes)PHPThemple* (Theme Engine)Smarty (Theme Engine)PHPTal(Theme Engine)Drupal Gardens (Service)
What can you do with Drupal Themes?Design photo sharing sites.Build a site for your local baseball team.Build a personal portfolio or résumé site.Build a theme for your church, civic group, or organization.There are not many limits to what can be done with Drupal and Drupal theme design.
Drupal Theme: AutoTrader`
Drupal Theme: University of Georgia:`
Garland Theme`
Choose A Theme`
Configure Theme`
Add some color`
How to Design For Drupal?Install Drupal to experiment and learn how modules UI functions work together, before you begin your design project. Use built-in features of Drupal and modules to achieve Design objectives. (Try not to reinvent)Think in terms of how your Design elements can be reused or repeated throughout Web site.Work closely with specialist in Drupal Design or Development to save on time and budget as you plan your Drupal project. `
Drupal Theme Anatomy 101`
File Structure`
Popular Drupal TermsHooksPreprocess FunctionsTheme FunctionsTemplate FilesRegionsNodesBlocksDeltaContent Types
Taxonomy
Settings.php
Template.php
Views
CCK

More Related Content

Drupal Theming For Beginners – Danté SELF 2010

  • 1. Drupal ThemingFor BeginnersBy Danté TaylorMediacurrent Senior DesignerSouth East Linux FestJune 13, 2010
  • 2. We will coverWhat is Drupal?What is a Drupal Theme?Contributed Drupal Themes, Engines, & ServicesWhat can you do with Drupal themes?Drupal Theme Anatomy 101How to Design for DrupalCreate a Drupal Theme the easy wayWhere to find help`
  • 3. About MeBachelor of Fine Arts (BFA) from Savannah College of Art and DesignWorked as a Designer for 10 yearsHave worked with Drupal since version 4.7 release (5 years)Biggest project worked on in Drupal is savannahnow.comFavorite project worked on in Drupal is ymib.com`
  • 4. What is Drupal?Content Management System (CMS)Application Programming Interface (API) built on top of PHPA community of more than 800,000+ users and developers contributing to build needed tools, services, and programs using a standard methodology or practices. There are more than 6,000+ profiles, modules, and themes supported by the Drupal community People who use Drupal include: Ubuntu.com, Whitehouse.gov, FastCompany.com, MTV.com`
  • 5. What is a Drupal Theme?A set of files and templates used to build the Front-end of a Drupal site.The User-Facing section of a Drupal site that facilitates the majority of the user experience.To put it in Real Estate terms it is the Décor of a Web Site. `
  • 6. Contributed Drupal Themes, Engines, & ServicesZen Theme (Themes)Garland Theme* (Themes)PHPThemple* (Theme Engine)Smarty (Theme Engine)PHPTal(Theme Engine)Drupal Gardens (Service)
  • 7. What can you do with Drupal Themes?Design photo sharing sites.Build a site for your local baseball team.Build a personal portfolio or résumé site.Build a theme for your church, civic group, or organization.There are not many limits to what can be done with Drupal and Drupal theme design.
  • 14. How to Design For Drupal?Install Drupal to experiment and learn how modules UI functions work together, before you begin your design project. Use built-in features of Drupal and modules to achieve Design objectives. (Try not to reinvent)Think in terms of how your Design elements can be reused or repeated throughout Web site.Work closely with specialist in Drupal Design or Development to save on time and budget as you plan your Drupal project. `
  • 17. Popular Drupal TermsHooksPreprocess FunctionsTheme FunctionsTemplate FilesRegionsNodesBlocksDeltaContent Types
  • 21. Views
  • 22. CCK
  • 24. Create a Drupal Theme the easy wayCreate Theme Name directory (mytheme) inside “/sites/all/themes/” (create new directories if they do not exist)Copy Garland theme from “/themes” and move it to “/sites/all/themes/”, then rename it to mytheme directory.Change the garland.info file to mytheme.info. Open new mytheme.info file and change all names with garland to mytheme. Change the screenshot.png file to match your new theme.Clear system cache. (/admin/settings/performance)Go to Themes list page and select mytheme, to start using or editing your new theme. (/admin/build/themes)`
  • 26. Where to Find Help?Mediacurrent.com/blogsDrupal.orgApi.drupal.orgDrupal.org/project/ThemesAListApart.comLynda.comDrupal.org/node/39451Drupal.org/node/171205Drupal.org/booksDrupal.org/node/190815`
  • 27. Tools of the tradeFirefoxFireBugTheme Developer ModuleMAMPAdmin Menu ModuleYSLOW`