Gallery module and multi language module (SOLVED)

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
Nettie
Forum Members
Forum Members
Posts: 53
Joined: Tue Oct 03, 2006 11:42 pm

Gallery module and multi language module (SOLVED)

Post 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 :)
Last edited by Nettie on Sun Mar 16, 2014 10:02 am, edited 1 time in total.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1976
Joined: Mon Jan 29, 2007 4:47 pm

Re: Gallery module and multi language module

Post 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
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Post Reply

Return to “Modules/Add-Ons”