G
G
GogenZZo2014-10-15 12:14:41
MODX
GogenZZo, 2014-10-15 12:14:41

ModX how to change the output of a parameter in a chunk?

Hello. ModX don't know at all how to make the output changed. For example, I write like this.
data-trans=""
Everything is displayed as it should, only in the html parameter the image code, how can I control the output? Remove html tags there or display somehow only the name of the image file. In transmission Is
<img src='/sdfsdf/sdfsdf/aaa.jpg'>
it possible to somehow parse the string before output? Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Michael, 2014-11-17
@Mikhail_RU

And why is the output in the form of an HTML code of the picture not satisfied?
The string can be modified to some extent using Output Filters:
rtfm.modx.com/revolution/2.x/making-sites-with-mod...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question