More Smarty Tags

Overview

More Smarty Tags Guide

The brightness modifier is used to calculate a lighter/darker hex color from the one being passed. It can be up to 255 steps darker or 255 steps lighter. This example increases the color brighness by 20 steps. ...

The contrast modifier returns an appropriate contrasting text color for the hex background color being passed. The optional parameters are" dark color to use (default is black/#000000), light color to use (the default is white/#FFFFFF, and use 'YIQ' calculation method. ...

{getnav} returns menu hierarchy data in the requested format with the requested items and assigns it to a variable. This is typically used in menus or other navigation displays. The 'type' of data returned is: ...

The pop plugin makes a simple popup box. This is handy if you need to notify visitors of something immediately when they visit the page. Has a built in cookie, so it will only display once, and when closed a visitor can refresh the page without being irritated with a repeated message. ...

{toggle} is used to create a block of text that can be displayed or hidden by clicking on the 'link' text. You may also add a 'summary' for a condensed entry when collapsed. Toggle blocks may not be nested. ...