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

ios - Is 'init' forbidden as *part* of a variable name? -

c# - Get the Class name in a class with atribute inside a attribute method -

file - Python: AttributeError: 'str' object has no attribute 'readlines' -