Re: [PHP] PHPizabi - Applying php in TPL (smarty template engine)

2009-03-28 Thread Virgilio Quilario
> Well well I forgot to install Smarty, but show the message. Ididn't modify > Smasrty.class.php. And index.tpl in libs directpory don't exist only the > file in root. > > Anybody Can save me? I'm X confuss. All is new for me. > >  Warning: Smarty error: unable to read resource: "index.tpl" in > /h

Re: [PHP] PHPizabi - Applying php in TPL (smarty template engine)

2009-03-26 Thread Virgilio Quilario
> Hi there! > Any know how Can I use PHP code into Smarty Temple Engine (TPL files) ? > I usued {php} include("text.php"); {/php} but the code don't run simply > output the code. > What's the problem? Wht don't run? > > Thankx, > Luciano Felli it may be the file path. try echoing something before

Re: [PHP] PHPizabi - Applying php in TPL (smarty template engine)

2009-03-26 Thread Jacques Manukyan
You have to change the $php_handling variable in Smarty first before you can use {php}{/php} tags inside your template. The default behavior of Smarty is to ignore or echo your code inside {php}{/php} tags in the template. Take a look at http://www.smarty.net/manual/en/variable.php.handling.ph

[PHP] PHPizabi - Applying php in TPL (smarty template engine)

2009-03-26 Thread Luciano Felli
Hi there! Any know how Can I use PHP code into Smarty Temple Engine (TPL files) ? I usued {php} include("text.php"); {/php} but the code don't run simply output the code. What's the problem? Wht don't run? Thankx, Luciano Felli