Page 1 of 1

Gallery module and multi language module (SOLVED)

Posted: Sun Nov 17, 2013 10:44 am
by Nettie
I have a site with 8 different languages. On the site I have a gallery with quite a few Pictures.

What I want to do is to use the MLE module to change titles and description of the different images, so the right language is automatically shown when the language is changed.

I have tried to make a custom field and add the mle snipplet to that. All it does is it shows the snipplet code including the brackets. Obviously that won't Work.

As i'm not a smarty programmer - and i believe it can be done via smarty I would appreciate any help :)

Re: Gallery module and multi language module

Posted: Sun Nov 17, 2013 12:57 pm
by Jo Morg
Nettie wrote:I have tried to make a custom field and add the mle snipplet to that. All it does is it shows the snipplet code including the brackets. Obviously that won't Work.
On the template where you are using the custom field use {eval var=$foo} where $foo should be replaced with your custom field call.
http://www.smarty.net/docsv2/en/languag ... n.eval.tpl