I’m importing my plain HTML/CSS website to MODX. I made all of the Elements static, so I can edit them from VS Code + SFTP plugin. But I still have to use MODX Manager to create or delete new Elements.
Is there a convenient way to manage Resources and Elements not switching to the web browser with MODX Manager opened?
It could be a MODX Extra or VS Code plugin watching /asset/template
and automatically creating a MODX Template when a new *.template.tpl
file detected.
2
Answers
Probably Gitify extra is what you need
You can try something like this (untested).
Fill in the full path to the modx directory and templates directory and run the script.