Setting variables

This is the most easy part: Just use setVar() with the variable name and its new value. An optional third boolean parameter tells if the value should be appended to the existing value (defaults to false).

Setting a variable

<?php
$t
->setVar('AUTHOR_NAME''Christian Weiske');
?>

Variables set influence all variables in the template, no matter if they are defined within a block or not.

    Поддержать сайт на родительском проекте КГБ