Keyword for current context?

(Tbaatar) #1


Is there a keyword to print the current context name to do conditionals?

The closest I could find is something like %asset_linking_lineage^index:0^as_asset:asset_name%

Basically I wan’t create a language switcher and the pre-selected language is the context the user is viewing.


(Bart Banda) #2

%globals_context% will give you the current context that the user is viewing, from that you could determine what options to print in a language type switcher.