Thanks, where does the main app_controller.php file go in RC2? I have tried /app/app_controller.php and /app/controllers/app_controller.php without success
On Jul 2, 2:07 pm, Smelly_Eddie <[EMAIL PROTECTED]> wrote: > If a particular helper or component is used my all of your > controllers, then you can just add the declaration to your main > appController.php > > Then all controllers will have access to its parent's helper. > > There may be a reason to void this, but i have found no troubles. > > On Jul 2, 7:34 am, John Jackson <[EMAIL PROTECTED]> wrote: > > > How should one use a custom helper in a layout? I realise the normal > > way to use a custom helper in a view is to include it in the $helpers > > array in the controller of that view, so how does this apply to > > layouts? Is the only way to include the helper in every controller > > which uses the layout? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
