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