C
C
Cheizer2018-07-07 13:54:53
CMS
Cheizer, 2018-07-07 13:54:53

MODX REVO how to display a field from a dictionary?

Friends, I can't figure it out, is the site multilingual on MODX REVO? languages ​​are made according to the type of different contexts, I display word statics through dictionaries, there are namespaces, ACE, CORE, etc., and so, if I add a new entry to the CORE namespace, then it is displayed on the site perfectly, but if I add an entry to the ACE namespace which is selected by default, but nothing is displayed, why is this happening?
How to deduce from ACE namespace?
On the website, I put it like this:
orient_price
5b409bc67aecc776549902.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
petyagrill, 2018-07-07
@petyagrill

It is best to make a plugin for the OnMODXInit event and load the necessary dictionaries there
$modx->lexicon->load('ace:default');

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question