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

  1. add "murganikolay/smarty-module": "1.0.0" composer.json file , run php composer.phar update.
  2. add smartymodule config/application.config.php file under modules key.

you forgot add smartymodule config/application.config.php file


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -