- CMS Made Simple Development Cookbook
- Samuel Goldstein
- 108字
- 2025-02-22 11:23:10
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