This topic is locked

New smarty syntax in PHPR 5

10/25/2008 1:58:48 PM
PHPRunner General questions
Pfeiffer author

Hello,

in PHPR 4.2 I often used a self defined function within ListOnLoad Event..
for exampe

Function sys_table_caption()

{

$smarty = new Smarty();

global $smarty;

$smarty->assign("sys_table_caption","what you want");

}
in xx...list.htm I used this smarty-variable with {$sys_table_caption}
How to do that now in PHPR 5
Best regards

Uwe Pfeiffer

Sergey Kornilov admin 10/28/2008

The syntax is very similar in many cases. PHPRunner documentation is a good place to start:

http://www.xlinesoft.com/phprunner/docs/smarty_templates.htm