zend framework - Plugin not found with custom view helper -
i need custom view helper.
my folder structure this:
application - modules - - smjestaj - views - - helpers - - - loadskin.php
and if go localhost/smjestaj
error:
message: plugin name 'loadskin' not found in registry; used paths: smjestaj_view_helper_: /users/davs/zend/workspaces/defaultworkspace7/1/application/modules/smjestaj/views/helpers/
zendx_jquery_view_helper_: zendx/jquery/view/helper/
zend_view_helper_: zend/view/helper/
i tried register helper in application.ini no luck.
if copy folders view->helpers->loadskin.php
module smjestaj works, don't think right way it.
i believe you're looking for: resolve view helper location within controller or form
note paths zend looking @ different 1 have helpers in. must inform zend keep helpers. quoted question offers 2 solutions: doing in bootstrap or in application.ini.
Comments
Post a Comment