2.0.1.1: Problem with template variables in Babel module

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
pschoenb
Forum Members
Forum Members
Posts: 92
Joined: Sun Jul 15, 2007 1:18 pm

2.0.1.1: Problem with template variables in Babel module

Post 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?
Regards,
Patrick
pschoenb
Forum Members
Forum Members
Posts: 92
Joined: Sun Jul 15, 2007 1:18 pm

Re: 2.0.1.1: Problem with template variables in Babel module

Post by pschoenb »

Any ideas?
Regards,
Patrick
Post Reply

Return to “Modules/Add-Ons”