CMSMS variable gCms is not accessible from Smarty
Posted: Fri Dec 16, 2011 9:14 am
Hi, I think my Subject is saying everything. Here, in User Handbook is written that {$gCms} is available from smarty. So I can access anything of config file from smarty, can't I?
But when I write {$gCms->config.root_path} in my template, I've got nothing. Because of it I tried to execute {$gCms|var_dump} and cmsms responds "NULL".
How can I get root_path from smarty? Thank you.
But when I write {$gCms->config.root_path} in my template, I've got nothing. Because of it I tried to execute {$gCms|var_dump} and cmsms responds "NULL".
How can I get root_path from smarty? Thank you.