I need some help with a custom view helper.
My folder structure is like this:
application
- modules
- - smjestaj
- views
- - helpers
- - - LoadSkin.php
And if I go to localhost/smjestaj
I get this error:
Message: Plugin by name 'LoadSkin' was not found in the 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 to register my helper in application.ini but with no luck.
If I copy my folders view->helpers->LoadSkin.php
to my module smjestaj that works, but I don't think that is the right way to do it.