Hi everyone!
I have a session variable that holds a selected city, for example:
{exp:session_variables:set name=“session_city” value=“msk”}I also have a set of custom fields titled like this:
2012_journal_issuu_id_msk
2012_journal_issuu_id_kazan
2012_journal_issuu_id_spb
Where msk, kazan, spb are the possible values for a city.
What I wish to do is something like this:
{exp:session_variables:set name="session_city" value="msk"}
{exp:channel:entries channel="2012_Autumn_Journal"}
{2012_journal_issuu_id_{exp:session_variables:get name='session_city'}}
{/exp:channel:entries}So I would like the page with this tag to show me the content of the corresponding field, so for the above example I need the content od the {2012_journal_issuu_id_msk} field.
Is it possible?
Thank you!