
上QQ阅读APP看书,第一时间看更新
Chapter 2. Programming with Smarty and Core Modules
In this chapter, we will cover:
- Using Smarty to create color sets in your stylesheet
- Using Smarty to do the math in your stylesheet
- Renaming the "Extra Page Attribute" fields in the CMS Admin
- Creating a personnel directory using Menu Manager
- Creating a basic Google Sitemap with Menu Manager and
mod_rewrite
- Embedding JavaScript in your template without causing Smarty to throw a fit
- Using Smarty loops to generate similar stylesheet constructs
- Displaying a block only for the Home page
- Using Smarty "Capture" and conditionals to hide empty content blocks
- Seeing what Smarty variables are available to your template