Inconsistent Template File Generation
Create project creates a skeleton based on volt templates.
The config/services.php is setup to load the volt engine.
The main view is index.volt
Running the scaffold command generates .phtml files and not .volt files. Thus, the layouts don't really work unless manually converting all the files to .volt templates, or disabling the volt engine and converting the main layout to a .phtml file.
A user should probably have the option to generate .volt or .phtml in commands that generate template files.
What command are you using to generate the scaffold?
phalcon scaffold posts
I was following along with this tutorial: http://blog.phalconphp.com/post/36648855158/tutorial-your-first-encounter-with-phalcon-part-2
Same question ...
phalcon scaffold posts --template-engine=volt
lets have create project add a file to .phalcon with the template engine in it. Then scaffold can read this
It works in latest stable version. I suggest close this issue.