我需要一些关于自定义视图帮助程序的帮助。
我的文件夹结构如下:
application
- modules
- - smjestaj
- views
- - helpers
- - - LoadSkin.php
如果我转到<code>localhost/smjestaj</code>,我会得到以下错误:
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/
我试图在application.ini中注册我的助手,但没有成功。
如果我复制我的文件夹view->;助手->;php
加载到我的模块smjestaj中,这是有效的,但我认为这不是正确的方法。