Skip to content

Templates

Sean Molenaar edited this page Oct 28, 2016 · 7 revisions

!!!WORK IN PROGRESS!!!

Templates are "simple" php infused HTML files. Well, they're simple if you know some PHP. But you probably do as you're running this PHP based devtool.

The current setup of templates allows you to take any name you want for a template. As long as there's a .phtml, .css and .js file that php-drafter can find in your include path that carry the same name.

By default it uses default as a template, which you can find in the Out/HTML directory.

Since user templates have priority you can even call your theme default (saves you using a CLI argument).

Clone this wiki locally