P
P
pegas2017-08-18 10:38:52
MODX
pegas, 2017-08-18 10:38:52

Where is the snippet markup located?

Found this in the chunk where can I find the contents of this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Ulo, 2017-08-18
@Salexer

Chunks are handled differently.
There are a lot of methods that set these placeholders.
For example:

$modx->setPlaceholders('тут массив с данными, в котором есть ключ filters', 'тут префикс my');
$modx->setPlaceholder('my.filters', 'все, что туда сваливается');
$modx->getChunk('Название чанка','value');
$modx->parseChunk('Название чанка','value');

You can read more in the documentation

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question