teleport icon indicating copy to clipboard operation
teleport copied to clipboard

Documentation request for creating custom TPLs

Open osabate opened this issue 10 years ago • 3 comments

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!

osabate avatar Sep 05 '14 17:09 osabate

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.

jchirschy avatar Dec 10 '14 12:12 jchirschy

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.

opengeek avatar Aug 10 '15 03:08 opengeek

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.

sottwell avatar Oct 04 '15 07:10 sottwell