Mle CMS - Could you help me to solve this problem?
Posted: Wed Apr 15, 2015 4:09 am
My website has two languages:
EN (English) | FR (France)
In module Mle CMS,
I created Snippets "snippet_currency" with content:
EN = USD
FR = EUR
Database Insert 1 Record into Table "cms_module_templates"
- module_name = MleCMS
- template_name = snippet_currency
- content = {"en":"USD","fr":"EUR"}
Now I use foreach to take USD value or EUR when the language is EN or FR. You can give me instruction usual foreach PHP or smarty
Thank you./
EN (English) | FR (France)
In module Mle CMS,
I created Snippets "snippet_currency" with content:
EN = USD
FR = EUR
Database Insert 1 Record into Table "cms_module_templates"
- module_name = MleCMS
- template_name = snippet_currency
- content = {"en":"USD","fr":"EUR"}
Now I use foreach to take USD value or EUR when the language is EN or FR. You can give me instruction usual foreach PHP or smarty
Thank you./