We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28042 ☆ A M B ☆
    • 24,524 Posts
    I have two questions now:

    1. Shouldn't the lexicon be able to be loaded once, then be used as many times as needed in the entire object? The above code loads the lexicon in both getType... functions, but I've also seen the lexicon loaded in the initialize() function. huh

    2. When creating the new Media Source, there is a field for Description. How can I use the lexicon for this, depending on the Manager language being used?

      Studying MODX in the desert - http://sottwell.com
      Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
      Join the Slack Community - http://modx.org