A
A
Anton2016-10-04 12:50:30
MODX
Anton, 2016-10-04 12:50:30

Storing templates in files, Poke your finger for modx revo?

Good day everyone!
Please give a small example of how to export templates to files.
I found one article, I'm interested in the second way:
modzone.ru/blog/2016/05/12/keep-elements-in-files
Also, how can I connect all this with git?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
Just_Andrew, 2016-10-04
@Ooos

I may not understand the question, but maybe it will help. There in article is about static templates.

Игорь, 2016-10-13
@ig0r74

Fenome сейчас не плохо работает с файлами: https://docs.modx.pro/components/pdotools/file-elements
Еще у ModxClub есть компонент со Smarty-шаблонизатором, заточенный на работу с файлами и Git.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question