Prefilters | |
|
| |
Postfilters | |
|
| |
Outputfilters | |
|
| |
How to add a filter: | |
|
File: prefilter.foo.php
Then you have to activate (register) your filter using the load_filter Smarty method in the setup.php file. Find the line: $smarty->load_filter('pre','tr'); And add your own filter the load_filter syntax is load_filter(String filtertype, String filtername); Where filtertype can be pre , pos or output | |