Writing smarty plugin is very easy. It is just like writing a custom function for Smarty. Only work you need to do is to name it differently. The plugin name is of the pattern:
function smarty_block_yourName($params, $content, &$smarty) {}
After creating a function like the above, just drop the file… (Continue)
At a place, I saw classification like this
Framework:
CakePHP ,
Code Igniter ,
eZ Components ,
PEAR,
Smarty ,
Symphony ,
Zend Framework.
Apps:
Drupal ,
Joomla ,
Mambo ,
osCommerce ,
Wordpress.
Now just I will take one - Drupal. Don't we say Drupal a framework? Even drupal… (Continue)
Long before I learned the smarty I have the solution for separating my template/view from logic. How I do that?
Simple! I write php code at the top and html at the bottom of the page. Sometimes when PHP code grows big then I have created new page for php… (Continue)
Here are the details of Template benefits, list of templates which are currently running, Installation and setup, and finally sample codes. Here I have also provided solutions for some of the common problems faced by a programmer when they start using smarty template or any template. Examples are divided in… (Continue)