O'Reilly logo

CMS Made Simple Development Cookbook by Samuel Goldstein

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

Introduction

When implementing new features for their CMS Made Simple sites, people's first thought ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required