Page 1 of 1

2.0.1.1: Problem with template variables in Babel module

Posted: Mon Oct 19, 2015 9:53 pm
by pschoenb
Hello,

since my site depends on it, I am trying to get the Babel module working with 2.0. Most issues are fixed. Amongst other things, I am retrieving the CMSMS class with

Code: Select all

$gCms = cmsms();
and I am retrieving smarty with

Code: Select all

$smarty =& $gCms->GetSmarty();
There is one weird thing, though: Some template varables set in the module are not visible when calling

Code: Select all

{get_template_vars}
For example, if I define a variable for test purposes in the module like this,

Code: Select all

$smarty->assign('BOO', "BANG");
the variable is not included in the template variables.

Why?

Re: 2.0.1.1: Problem with template variables in Babel module

Posted: Wed Oct 21, 2015 11:53 am
by pschoenb
Any ideas?