User Tools

Site Tools


Sidebar

designers:no_use_php

This is an old revision of the document!


Alternatives for {php} In Templates

Use of the {php} in Smarty templates is deprecated and should not be used, as going forward in future versions of Smarty they may no longer work. Starting in version 6.0.0 which uses Smarty 3.0, you will need to specifically turn on use of {php} in the admin at Design > Template Sets.

You can read more info about it on the smarty.net documentation page for {php}. Below are alternatives to using {php} in your templates specific for this software.

  • Use an Addon Tag instead, or use one of the other tools available to addons in the software.
  • Create a smarty plugin.
designers/no_use_php.1315588124.txt.gz · Last modified: 2014/09/25 16:55 (external edit)