We launched new forums in March 2019—
join us there
.
In a hurry for help with your website?
Get Help Now!
Back to MODX.com
Forums
Docs
Revo Issues
Blog
My Forums
Add-ons
Manager, Parser & the Core
YAMS
Search
Fetching the lang id as a variable
38 Posts
AndrewBrg
Reply #1,
13 years, 11 months ago
is it possible to get the lang id ie(en,gr,fr) as a variable in a snippet?
38 Posts
AndrewBrg
Reply #2,
13 years, 11 months ago
Hi i managed to solve it by passing the id as a param in the snippet call
[!snippetname? &yamsid=`(yams_id)`!]
805 Posts
PaulSuckling
Reply #3,
13 years, 11 months ago
Yes. That’s the way I do it.
YAMS: Yet Another Multilingual Solution for MODx
YAMS Forums
|
Latest: YAMS 1.1.9
|
YAMS Documentation
Please consider
donating
if you appreciate the time and effort spent developing and supporting YAMS.