![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
25/06/2011, 04:23
|
| | Fecha de Ingreso: junio-2011 Ubicación: Granada
Mensajes: 19
Antigüedad: 13 años, 7 meses Puntos: 0 | |
Respuesta: Problemas con Forms tras pasar a organización modular Cita:
Iniciado por masterpuppet El problema deben ser los view helpers, tienes que agregar el path en el application.ini y el nombre de la clase deberia tener el prefijo del modulo, osea esto: Zend_View_Helper_MenuLateral deberia ser esto: Default_View_Helper_MenuLateral y ademas en el application.ini:
Código INI:
Ver originalresources.view.helperPath.Default_View_Helper = APPLICATION_PATH "/modules/default/views/helpers"
Saludos. Había probado esto ya pero al probarlo me da error
Código:
Fatal error: Uncaught exception 'Zend_Loader_PluginLoader_Exception' with message 'Plugin by name 'MenuLateral' was not found in the registry; used paths: Zend_View_Helper_: Zend/View/Helper/;./views\helpers/;C:/AppServ/www/ala01/application/modules/default/views\helpers/' in C:\AppServ\www\ala01\library\Zend\Loader\PluginLoader.php:412 Stack trace: #0 C:\AppServ\www\ala01\library\Zend\View\Abstract.php(1182): Zend_Loader_PluginLoader->load('MenuLateral') #1 C:\AppServ\www\ala01\library\Zend\View\Abstract.php(618): Zend_View_Abstract->_getPlugin('helper', 'menuLateral') #2 C:\AppServ\www\ala01\library\Zend\View\Abstract.php(344): Zend_View_Abstract->getHelper('menuLateral') #3 [internal function]: Zend_View_Abstract->__call('menuLateral', Array) #4 C:\AppServ\www\ala01\application\layouts\layout.phtml(10): Zend_View->menuLateral() #5 C:\AppServ\www\ala01\library\Zend\View.php(108): include('C:\AppServ\www\...') #6 C:\AppServ\www\ala01\library\Zend\View\Abstract.php(888): Zend_View->_run('C:\AppServ\www\...') #7 C:\AppServ in C:\AppServ\www\ala01\library\Zend\Loader\PluginLoader.php on line 412
|