Re: [fw-general] Zend Helpers

2008-01-21 Thread Ian Warner
Matt Apologies the stuff I needed was in the docs. However still no joy, this is my stack output for the view - and I assume if the new path was registered correctly then it would show up in here Zend_View Object ( [_path:private] = Array ( [script] = Array

Re: [fw-general] Zend Helpers

2008-01-21 Thread Matthew Weier O'Phinney
-- Ian Warner [EMAIL PROTECTED] wrote (on Monday, 21 January 2008, 12:24 PM +): However still no joy, this is my stack output for the view - and I assume if the new path was registered correctly then it would show up in here snip Registering the path - tried in controller and a few other

Re: [fw-general] Zend Helpers

2008-01-21 Thread Ian Warner
Matt Thanks for your patience and persistance :) That indeed worked. I utilised the first method. As I am basically creating an area for global helpers - actually mostly for Facebook Common Tasks such as there Form rendering and other components such as the Wall. Is there a repository of

[fw-general] Zend Helpers

2008-01-20 Thread Ian Warner
hi I am having real trouble trying to set helper paths. I assume I can place this anywhere in my code structure - I have tried in bootstrap / controllers and a few other places Pathing - I think I have this correct below though I although I have changed this any which way but loose.

Re: [fw-general] Zend Helpers

2008-01-20 Thread Joó Ádám
Hello Ian, Try to use the addHelperPath() method. Regards, Ádám On Jan 20, 2008 1:21 PM, Ian Warner [EMAIL PROTECTED] wrote: hi I am having real trouble trying to set helper paths. I assume I can place this anywhere in my code structure - I have tried in bootstrap / controllers and a few

Re: [fw-general] Zend Helpers

2008-01-20 Thread Pieter
Hi Ian, I think that you should use the $view-addHelperPath() function. Regards, Pieter Kokx Ian Warner schreef: hi I am having real trouble trying to set helper paths. I assume I can place this anywhere in my code structure - I have tried in bootstrap / controllers and a few other places

Re: [fw-general] Zend Helpers

2008-01-20 Thread Ian Warner
Sorry I should have said that I tried that also. Still no luck Pieter wrote: Hi Ian, I think that you should use the $view-addHelperPath() function. Regards, Pieter Kokx Ian Warner schreef: hi I am having real trouble trying to set helper paths. I assume I can place this anywhere in my

Re: [fw-general] Zend Helpers

2008-01-20 Thread Matthew Weier O'Phinney
-- Ian Warner [EMAIL PROTECTED] wrote (on Sunday, 20 January 2008, 01:00 PM +): Sorry I should have said that I tried that also. Still no luck I use code like the following code regularly: $view-addHelperPath('path/to/My/View/Helper', 'My_View_Helper'); and it works fine. Can you

Re: [fw-general] Zend Helpers

2008-01-20 Thread Ian Warner
Matt $view = new Zend_View(); // Add /other/path/to/helpers with class prefix 'Your_View_Helper' $view-setHelperPath('D:\AWebEnvironment\htdocs\Site_Template\library\Zend\View\Helper', 'Common_Components'); I have tried the above and also with addHelperPath and still no

Re: [fw-general] Zend Helpers

2008-01-20 Thread Tobias Gies
The File name should be HelperName.php. 2008/1/20, Ian Warner [EMAIL PROTECTED]: Matt $view = new Zend_View(); // Add /other/path/to/helpers with class prefix 'Your_View_Helper' $view-setHelperPath('D:\AWebEnvironment\htdocs\Site_Template\library\Zend\View\Helper',

Re: [fw-general] Zend Helpers

2008-01-20 Thread Matthew Weier O'Phinney
-- Ian Warner [EMAIL PROTECTED] wrote (on Sunday, 20 January 2008, 07:54 PM +): $view = new Zend_View(); // Add /other/path/to/helpers with class prefix 'Your_View_Helper' $view-setHelperPath('D:\AWebEnvironment\htdocs\Site_Template\library\Zend\View\Helper',