A
A
Alexander Stepanov2018-11-02 09:52:41
MODX
Alexander Stepanov, 2018-11-02 09:52:41

Why is MODx outputting variable names instead of language values ​​in frontendmanager?

I'm starting to master modx and just a rake right off the bat ....
And here's the next one: on the frontend, not the language values ​​​​of the buttons are displayed, but their full names of variables written in a chunk like "{'frontendmanager_btn_edit' | lexicon}".
Google search didn't help.
Tell me where to dig? Can you give me some more tips on how to win? ))

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ruslan, 2018-11-02
@Exebeche

You output language values ​​​​through the fenom template engine, but by default it is not in MODX, but it is in pdoTools, it comes with it. To call language values ​​in MODX write - language_string_key, and through fenom you can call it differently (again, if it is enabled):
{$_modx->lexicon('language_string_key')}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question