Hi,

You can add Javascript helper to /app/app_controller.php, then it can
be used throughout the whole application.

class AppController extends Controller {
        var $helpers = array('Javascript');
}

// lundvall

On 29 Sep, 19:57, lorenx <[email protected]> wrote:
> hi all,
> i'm wondering one thing:
> i understand the choise to call helpers only when needed but... if i
> want to include a javascript file in the default.ctp (the common
> layout used everywhere), i have to call the javascript helper in every
> controller of my application?
>
> thanks.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to