teleport
teleport copied to clipboard
Documentation request for creating custom TPLs
When should we expect this page to be ready? https://github.com/modxcms/teleport/blob/master/doc/extend/custom-extract-tpls.md
Thanks and great job on this tool!
Hello,
I second this request. Teleport is an incredible tool, but without a consistent documentation, it is hard to customize to specific needs. However, thanks to the community, some greatful help is provided through the Modx Forum.
I've been slowly working on some documentation finally at https://github.com/modxcms/teleport/blob/master/doc/extend/custom-extract-tpls.md. More to come shortly.
Nice. One question remaining... how do you USE a custom tpl? The default is --tpl=phar://teleport.phar/tpl/develop.tpl.json, so how does this get translated into a custom tpl in the teleport/tpl/ directory?
Several minor details, like where does a tpl file go, and exactly how should it be named, does its filename need to be the same as its "name" property, does its filename and "name" property have any relationship to the project's profile file data, have to be guessed at.