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 3. Getting the Most out of Tags and User-Defined Tags

In this chapter, we will cover:

  • Displaying the User's IP address from a User-Defined Tag
  • Using the current content object in a User-Defined Tag
  • Making a variable available to Smarty from a User-Defined Tag
  • Displaying the number of pages in the CMS using a User-Defined Tag
  • Using URL parameters in a User-Defined Tag
  • Using Smarty values as inputs in a User-Defined Tag
  • Display a stock price from Yahoo with a User-Defined Tag
  • Displaying a translation of the current page using Babelfish with a User-Defined Tag
  • Posting an article to the News Module using a User-Defined Tag
  • Reversing a string in two ways using a Smarty Modifier
  • Adding Registered Trademark symbols to a name automatically

Introduction ...

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