We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26555
    • 38 Posts
    ... access a context setting (e.g. cultureKey) within a template?
    I tried [[++cultureKey]]
      • 26555
      • 38 Posts
      P.S.: in Revo.
        • 26555
        • 38 Posts
        Well, I could access it within a snippet like this <?php echo $modx->getOption(’cultureKey’); ?> I guess.
        But I would like to use the tag syntax inside a tpl.
          • 5340
          • 1,624 Posts
          [[++cultureKey]] works for me from a template in a context.
          What version of Revo are you using? I have a "before" 2.0.3 version taken from GIT.
          Can you make sure you are using correctly?