Author Topic

Piotrek Karaś

Monday 17 December 2007 9:38:59 pm

Comment48865

In PHP (this is PHP5 -> eZ4):

$tpl = templateInit();
$tpl->setVariable( 'custom_variable_name', 'custom_value' );

Then in templates you use:

{$custom_variable_name}

Hope this helps ;)

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu