We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28432
    • 372 Posts
    Many thanks to YOU Bruno !
      • 13428 ☆ A M B ☆
      • 1,031 Posts
      A (in my eyes) better way would be a plugin in OnManagerPageBeforeRender

      switch ($modx->event->name) {
          case 'OnManagerPageBeforeRender':
              $modx->controller->addLexiconTopic('migx:default');
              break;
      }


      And the use of _(migx.whatever) instead of '{/literal}{$migx.whatever}{literal}' in the template variable input/output options template files. Advantage: No double escaped single quotes etc. [ed. note: Jako last edited this post 10 years, 8 months ago.]