php - How to use .tpl files in zend frame work 2? -
i learner in zend framework. tried this link , working fine. want use .tpl files instead of .phtml files. referred this . link , followed steps. when run project null page...! whats wrong , did missed? or other way use .tpl files instead of .phtml files?
the error getting :
fatal error: uncaught exception 'zend\modulemanager\exception\runtimeexception' message 'module (smartymodule-dev) not initialized.
actually added "smartymodule-dev" in vendor folder
installation steps via composer library's manual
- add "murganikolay/smarty-module": "1.0.0" composer.json file , run php composer.phar update.
- add smartymodule config/application.config.php file under modules key.
you forgot add smartymodule
config/application.config.php
file
Comments
Post a Comment