Back to Drupal Training Syllabus
Drupal Theming
Themes make Drupal websites beautiful – and Themers are the bridge between the science of code and the art of design.
Learning Objectives
Build a Drupal theme based on a HTML template.
Trainee will be able to develop a minimal Drupal theme, have a good understanding on blocks, regions, javascript, jquery, ajax etc.
Course Content
-
Template Engines
-
Theme layers
-
Theme functions
-
CSS & JS
The template engine is what is used to run the code in the templates. There are different kind of template engines that will allow a theme developer to do different stuff with different syntax in the templates, different ways of getting the variables to the template etc.
http://themery.com/dgd7/theming/core/engines
A theme is a collection of files that define the presentation layer.
http://www.slideshare.net/hanpersand/the-drupal-theme-layer
The purpose of a theme function is the same as a template file in that its goal is to provide HTML markup in a way that makes it customizable by themes (and modules, too). There are many, many theme functions in Drupal core, from form elements to menu items to full administration page implementations.
http://themery.com/dgd7/theming/theme-functions/
It is important to know the template designing using HTML and CSS. To increase the interactivity of webpage, knowledge in JS is appreciable.
http://www.htmldog.com/
Reference
http://www.zyxware.com/articles/3892/drupal-how-to-create-a-drupal-7-the...
http://www.zyxware.com/articles/5300/theming-in-drupal-8
https://www.udemy.com/drupal-theming-essentials/