[Solar-talk] helper_path

Jeff Surgeson solar at 3hex.com
Sat May 27 00:03:39 PDT 2006


> >>  From this, it looks like you did something like the following ...
> >>  $config['Bulldog_App_Thebooknook']['helper_class'] = 'Meta';
>
> > That's the strange thing I did not, my first config setting was:
> >
> > $config['Bulldog_App_Thebooknook']['helper_class'] =
> > 'Bulldog_App_Helper';
> > and then
> > $config['Bulldog_App_Thebooknook']['helper_class'] =
> > 'Bulldog_View_Helper';
> >
> > So Solar is adding the Meta_ item to the stack array not my code.
>
> That's weird.  Can you send me (personally) the code in question?
> Maybe I can step through it to see what Solar is picking up from where.

Oops sorry! when I could not get the $config setting to work I tried

$this->_config['helper_class'] = 'Meta';

in my App class setup() but forgot to remove it :-((

I corrected this to 

$this->_config['helper_class'] = 'Bulldog_View_Helper';

and provided this is set in all of my used App's setup()'s then it works and 
all app's finds Meta.php helper in Bulldog_View_Helper.

However it does not explain why

$config['Bulldog_App_Thebooknook']['helper_class'] = 'Bulldog_View_Helper';

is not working. I have sent a separate email with attached code, my apps are 
very App Solar'ish in layout and design, sorry happen to like they way they 
work :-)

> If it's not working for you, it's probably not working for others,
> and it *should* work, so let's keep going with this.  Thanks for your
> patience.
>

-- 
Jeff Surgeson


More information about the solar-talk mailing list