Theme functions
This screencast shows that while some elements on a Drupal page are themed by template files, quite a few are themed by *theme functions*. In this screencast you will learn:
Välkommen till NodeOne's Drupal learning library! Använd inställningarna nedan om du vill söka i biblioteket efter epsioder och och övningar, eller dyk bara rätt in. Du kan få notifikationer om nytt innehåll genom att följa RSS-flödet.
This screencast shows that while some elements on a Drupal page are themed by template files, quite a few are themed by *theme functions*. In this screencast you will learn:
This screencast shows some more useful things with preprocess functions:
This screencast introduces the concept of preprocess functions – functions usually used for adding new variables to your template files. By using preprocess functions you can move complex logic out of the template files, and feed the templates with pre-made variables instead.
This screencast shows how you can use template files to customize the markup on your site. In more detail, it shows:
This screencast shows how to add new regions to your sub theme (or change the existing ones). This is done in three steps:
This screencast shows an alternative – and better – way of overriding small parts of CSS. Instead of overriding the entire CSS file, you can simply add your own file with selective overrides.
This screencast shows how easy it is to create a sub theme, so you don't have to hack core. This is done by creating a new folder in your sites/default/themes (or sites/all/themes) directory, and then adding a MYTHEME.info file. This should be populated with:
This screencast introduces themes:
Here's what you will find in this chapter:
This chapter contains the episodes about Drupal theming. Nothing to see on this page -- please proceed to the actual episodes. :-)