Op Wednesday 27 May 2009 04:55:54 schreef je: > On 27/05/2009, at 8:05 AM, Jurian Sluiman wrote: > > Op Tuesday 26 May 2009 23:31:11 schreef Jonathon Wallen: > > Hi Jonathon, > > I have a self written content management system. The clients are able > > to make > > pages anywhere in the navigation structure. The pages are a > > combination of > > several modules/controllers/actions. Because they do not point > > directly to an > > action in the mvc pattern, this option is not possible. > > > > Sorry I've to burn all suggestions down, but I've thought quite a long > > time > > about this subject :p. Eventually I can write a patch to solve this > > problem > > and suggest it at the bugtracker. > > > > Regards, Jurian > > -- > > Jurian Sluiman > > Soflomo.com > > Ah ok, my final idea would be to extend > Zend_View_Helper_Navigation_Menu and override the htmlify method. > Jonathon Wallen
Hi all, I've done some more research about my problem. I created a number of menu view helpers and tried if Zend_View_Helper_Navigation could find them with the findHelper($proxy) method. The method is called with parameter $proxy = 'menu'. It returns always an instance of Zend_View_Helper_Navigation_Menu (both tested). I tried to place my menu view helper in application/layouts/helpers/Menu.php (being a View_Helper_Menu), or in application/layouts/helpers/Navigation/Menu.php (for a View_Helper_Navigation_Menu). This didn't work. Also I placed them in library/Soflomo/View/Helper/Menu.php or library/Soflomo/View/Helper/Navigation/Menu.php. Other helpers in application/layouts/helpers of library/Soflomo/View/Helper are working fine, so there's nothing wrong in my configuration. How can I make this work? Thanks a lot for any help! Regards, Jurian -- Jurian Sluiman Soflomo.com
