MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.

I'm not curious

Drupal Theming Essentials

Course Summary

Learn how to build or modify Drupal themes and sub-themes

  • +

    Course Syllabus

    • Important Drupal Theming Concepts
      • Who these theming videos are for and what they do (and don't) cover
      • How to determine which method to use when modifying output
      • A conceptual introduction to the Features module for exporting configuration options as code
      • How to decide whether to use a module or a theme for your modifications
      • How to decide when to use a theme function or template file
      • How the theme registry works
      • How to find out where any piece of output comes from
      • What view modes are and why you would use them
      • How to adjust node view modes through the user interface
      • What field formatters are and how to use them to modify field output
      • How coding standards apply to the theme layer, and how to add comments to template files
      • Template file coding standards and conventions
      • How to apply CSS coding standards
      • Theme troubleshooting and what to do when you don't see your theme output changes applied
      • How to troubleshoot CSS problems in your theme
      • Review of 'Important Drupal Theming Concepts' and review
    • How to Build and Modify a Drupal Theme or Sub-Theme
      • Overview of included themes and the themes directory, and where to put new themes
      • How the different parts of a theme work
      • Learning about theme structures by reviewing core Drupal themes
      • Learning from the Zen theme file structure
      • Learning from the Basic theme file structure
      • Learning from the Fusion theme file structure
      • Learning from the Marinelli theme file structure
      • Review of the theme .info file options
      • How to create a theme folder, add an info file and enable a custom theme
      • How to add a screenshot
      • How to add a default logo file
      • How to override the page template with a page.tpl.php file
      • How to add a new region and what regions are
      • How to add a CSS file
      • How to add a JavaScript file
    • How to Build and Modify a Drupal Theme or Sub-Theme, Part 2
      • How to add a new setting to the theme settings form
      • How to set a default for a theme setting and use it in a template file
      • How the template.php file works and a review of the Bartik theme template.php file
      • Learning from the Garland and Seven template.php files
      • How to add a template.php file and use a page preprocessing function
      • The advantages and disadvantages of using a sub-theme
      • How to create a sub-theme
      • How sub-themes inherit or override base theme components
      • How to override CSS, JavaScript and screenshot files of a base theme using a sub-theme
      • The advantages of copying an existing theme
      • How to create a new theme by copying an existing theme
      • Overview of theme CSS file structures
    • Theme CSS File Structure and Extended Drupal Theme Building
      • A close look at the Bartik stylesheet structure
      • A quick look at the Garland and Seven theme stylesheet structures
      • How the Zen theme uses extensive CSS files for learning
      • Review of the Basic and Fusion CSS file structures
      • How to enable element toggling with theme
      • How to add CSS or JavaScript files to a theme conditionally based on node type
      • How to add CSS or JavaScript files to a theme conditionally based on path or user role
      • Review of Drupal theme building videos and next steps
    • Template Files, Theme Function Overrides and Preprocessing Functions
      • Why use template files, how file suggestions work, and setting up for later examples
      • How to use the page template file (page.tpl.php) and override it by path
      • How to use the node template file (node.tpl.php) and override it by content type or node ID
      • How to use the block template file (block.tpl.php) and override it by module, region or delta
      • How to use the comment (comment.tpl.php) and comment wrapper (comment-wrapper.tpl.php) template files
      • How to name preprocessing functions to use with theme functions and template files
      • How to use simple preprocessing functions
      • How to apply preprocessing code only in certain situations
      • How template file suggestions work in depth and adding new suggestions
      • How to override template files for specific conditions using template file suggestions
      • How to override a theme function
      • Theme function override examples
      • How to conditionally add CSS classes to the body, page and node wrapper tags for easier styling
      • A practical example of adding a conditional body class
      • Review of template files and theme function chapter, and next steps
    • How to Work With Drupal Theme Settings
      • What this chapter covers and basic global toggle options available in the theme setting
      • Overview of additional element toggle options such as main and secondary menus
      • How to tell when global or theme-specific settings are used, and how to uninstall a theme
      • How to add a custom theme setting and set a default for it
      • How to use the custom theme setting in code using theme_get_setting()
      • Overview of how the color module works to add custom color selections to a theme
      • What steps are required to integrate the color module with your theme
      • Overview of color module integration files part 1, including the file
      • Overview of color module integration files part 2, including the preview.js file
      • How to add a new color selector to your theme with the color module
      • Review of the theme settings chapter and next steps
    • Resource Pack
      • Example files resource pack

Course Fee:
USD 99

Course Type:


Course Status:



1 - 4 hours / week

This course is listed under Open Source and Development & Implementations Community

Attended this course?

Back to Top

Awards & Accolades for MyTechLogy
Winner of
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url

Back to Top