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

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
主站蜘蛛池模板: 澄迈县| 开封市| 满洲里市| 辽宁省| 尚义县| 乳源| 南充市| 彭阳县| 富蕴县| 克什克腾旗| 威远县| 赤水市| 昌平区| 海淀区| 河间市| 横山县| 彩票| 油尖旺区| 孝昌县| 大悟县| 霍城县| 小金县| 朝阳县| 寿宁县| 岱山县| 辽阳县| 邢台市| 滨海县| 普定县| 霍山县| 尼木县| 安宁市| 虹口区| 鄄城县| 琼结县| 红河县| 开阳县| 七台河市| 东阿县| 资兴市| 鄂州市|