To load the SuperHelper:
$super =& ClassRegistry::init('Super', 'helper');
echo 'CakePHP is ' . $super->cool();
On Wed, Mar 5, 2008 at 4:34 AM, Mech7 <[EMAIL PROTECTED]> wrote:
>
> But what if i use them on the home page?
>
>
>
> On Mar 4, 11:58 pm, jonknee <[EMAIL PROTECTED]> wrote:
> > For common elements (stuff that would be in the sidebar or whatever)
> > app_controller is your best bet. For less common ones just include the
> > helper in the controller that the elements are being used in. Unless
> > you have a huge number of controllers it should be pretty simple.
> >
> > On Mar 4, 5:51 pm, Mech7 <[EMAIL PROTECTED]> wrote:
> >
> > > I am currently doing it in the app_controller but the list is growing
> > > hehe.. is there a more efficient way to load them in specific elements?
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---