User Tools

Site Tools


designers:no_use_php

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
designers:no_use_php [2011/11/15 00:22]
jonyo
designers:no_use_php [2014/09/25 16:55] (current)
Line 7: Line 7:
   class if you need any backward compatibility.   class if you need any backward compatibility.
  
-You can read more info about it on the [[http://www.smarty.net/docs/en/language.function.php.tpl|smarty.net documentation page for {php}]].  Technically speaking, it is possible to use a "Backwards Compatibility" Smarty class **SmartyBC** to allow using {php} but doing so will require making changes to core PHP files, which is not supported or recommended((If you really want to do that though to allow your existing {php} function until you are able to convert them, see the documentation on http://smarty.net.)).  Below are alternatives to using {php} in your templates specific for this software.+You can also read more info about it on the [[http://www.smarty.net/docs/en/language.function.php.tpl|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. +  * Use an Addon Tag instead, or use one of the other tools available to addons in the software.  As of **Version 6.0.0**, all addon tags are called **on the fly**, with the $params and $smarty vars passed to the tag methods.  For addon developers, this means you now have same abilities as you would if you created a custom smarty plugin!  See the smarty.net documentation for [[http://www.smarty.net/docs/en/plugins.functions.tpl|Plugin Functions]] for more info
-  * Create a smarty plugin.+  * Create a custom smarty plugin.  See the [[http://www.smarty.net/docs/en/plugins.functions.tpl|smarty.net documentation]] for more info.
designers/no_use_php.1321316556.txt.gz · Last modified: 2014/09/25 16:55 (external edit)