Home > Articles > Web Development > Content Management Systems

  • Print
  • + Share This
This chapter is from the book

Summary

This chapter addressed ways to modify the preprocess function so that you can prepare and alter page template variables, and alert Drupal of new page templates. More specifically, you learned how to perform the follow tasks:

  • Dissect a theme into its component template files
  • Use sitewide variables in page templates
  • Create new sitewide variables with preprocess functions
  • Establish a grid for a page template through custom regions
  • Configure a sitewide search block
  • Change page templates based on taxonomy, page alias, and content type
  • Create and implement print-friendly pages using CSS and the Print module
  • Create a low-bandwidth site for mobile devices

In the next chapter you will learn how to fill up the “content” region of your page with nodes that are themed exactly as you want them to be.

  • + Share This
  • 🔖 Save To Your Account