$this->allow_php_tag = true;
public function __construct()
{
parent::__construct();
$config = CampSite::GetConfigInstance();
$this->debugging = $config->getSetting('smarty.debugging');
$this->force_compile = $config->getSetting('smarty.force_compile');
$this->compile_check = $config->getSetting('smarty.compile_check');
$this->use_sub_dirs = $config->getSetting('smarty.use_subdirs');
$this->allow_php_tag = true;
...
ljuba rankovic said:Hi,
please see this thread http://forum.sourcefabric.org/discussion/16336/did-you-update-smarty/p1
Paweł Mikołajczuk said:Hey,
please show us gist with your current CampTemplate.php.
Paweł Mikołajczuk said:@Nalyk Calmis maybe it was caching. For future try to clear newscoop/cache/ directory after code changes.
Btw. using php in smarty is really bad idea.
It looks like you're new here. If you want to get involved, click one of these buttons!