Search found 4 matches

by nimo66
Wed Apr 27, 2016 8:54 am
Forum: Modules/Add-Ons
Topic: jsmonzani trick for multilingual
Replies: 5
Views: 2040

Re: jsmonzani trick for multilingual

Hello,
When I add {get_template_vars} I see my variable -$weblang-, but when I want it back with -$smarty->get_template_vars( 'weblang')- I have nothing back :(
by nimo66
Tue Apr 26, 2016 3:09 pm
Forum: Modules/Add-Ons
Topic: jsmonzani trick for multilingual
Replies: 5
Views: 2040

Re: jsmonzani trick for multilingual

I noticed that

Code: Select all

$smarty->get_template_vars('weblang')
not working. It no return value... any idea?
by nimo66
Tue Apr 26, 2016 9:27 am
Forum: Modules/Add-Ons
Topic: jsmonzani trick for multilingual
Replies: 5
Views: 2040

Re: jsmonzani trick for multilingual

Thanks Rolf, I tried as well, but my variable "$ current text menu" return empty :( function smarty_function_general_menu_title($params, &$template) { $smarty = $template->smarty; $manager = cmsms()->GetHierarchyManager(); $thisPage = isset($params['pageid']) ? $params['pageid'] : cmsm...
by nimo66
Mon Apr 25, 2016 4:17 pm
Forum: Modules/Add-Ons
Topic: jsmonzani trick for multilingual
Replies: 5
Views: 2040

jsmonzani trick for multilingual

Hello, I tried to update trick jsmonzani for CMS 2.1.2: http://forum.cmsmadesimple.org/viewtopic.php?t=11756 Unfortunately without success. someone has a track for me? $gCms = cmsms(); $smarty = $template->smarty; $manager =& $gCms->GetHierarchyManager(); $thisPage = $gCms->variables['content_id...

Go to advanced search