D
D
Denis T2017-03-20 11:24:47
MODX
Denis T, 2017-03-20 11:24:47

How to change class in modx?

The template template has a div with the class example.
I apply this template to several pages, but the fact is that on different pages I need a different class for this div (somewhere example, somewhere bla-bla, not the point). Please tell me how you can make a universal solution so that, for example, you can write the right class on the right page and it will automatically be substituted into the template.
PS in fashion is not strong at all.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sanes, 2017-03-20
@tyukavin_denis

Through the TV field.

T
Tatyana Anufrieva, 2017-03-21
@kalisto74

Check by template id and substitute your classes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question