In a TYPO3 project, I have an array in my fluid template :
{subfamilies} [
france = Paris
germany = Berlin
united_kingdom = London
spain = Madrid
usa = New York
]
It works perfectly but I need to access specific items via the key. I get the key inside a variable 'my_key' ( == 'france' ) Below is what I already tried :
{subfamilies.{my_key}}
{subfamilies."{my_key}"}
{subfamilies.'{my_key}'}
{subfamilies.{{my_key}}}
It doesn't work. I tried a lot of solutions.. with no effect.
Any idea ?