官术网_书友最值得收藏!

Chapter 3. The Theme System

In this chapter, we will look at the Drupal theme system. Strictly speaking, the theme system is not a module. However, modules interact with the theme system, which is made up of tools, templates, and libraries for configuring the look and feel of just about all aspects of Drupal.

By the end of this chapter, you should be able to create a theme based on the PHPTemplate engine. In later chapters, we will draw upon topics covered in this chapter to make our modules more theme-aware.

In this chapter, we will cover the following:

  • Understanding the basic architecture of the theme system
  • Using theme inheritance to create derivative themes
  • Customizing the site's appearance with CSS (Cascading Style Sheets)
  • Creating custom PHPTemplate files
  • Overriding theme hooks to create custom theming
主站蜘蛛池模板: 景谷| 托克托县| 安宁市| 邹平县| 仁化县| 新化县| 田林县| 淮阳县| 屏南县| 新竹市| 高陵县| 桂东县| 泗洪县| 晋中市| 丹凤县| 玉田县| 剑河县| 田林县| 新建县| 金秀| 珠海市| 嘉义县| 赣榆县| 牟定县| 灵石县| 福州市| 加查县| 鞍山市| 大新县| 楚雄市| 林口县| 巨野县| 神农架林区| 观塘区| 卢湾区| 罗定市| 郧西县| 万安县| 林州市| 宁陵县| 万安县|