ok, i'm going to try.
thanks a lot!
On Sep 30, 5:46 pm, brian wrote:
> On Wed, Sep 30, 2009 at 11:01 AM, lorenx wrote:
>
> > do i have to create it or to copy cake/libs/controller/
> > app_controller.php so that cakephp will read mine from now on?
>
> Yeah, copy the one in cake/libs/controller
On Wed, Sep 30, 2009 at 11:01 AM, lorenx wrote:
>
> do i have to create it or to copy cake/libs/controller/
> app_controller.php so that cakephp will read mine from now on?
Yeah, copy the one in cake/libs/controller to your app dir (not
app/controllers/). Then edit that with whatever code you wa
do i have to create it or to copy cake/libs/controller/
app_controller.php so that cakephp will read mine from now on?
On Sep 30, 4:41 pm, m lundvall wrote:
> You have to create "app_controller.php" in app/
>
> Don't mess with cake/ directory unless you know what you are doing.
>
> // lundvall
You have to create "app_controller.php" in app/
Don't mess with cake/ directory unless you know what you are doing.
// lundvall
On 30 Sep, 13:16, lorenx wrote:
> mmm,
> i have just these two:
>
> cake/libs/controller/app_controller.php
> cake/console/libs/templates/skel/app_controller.php
>
>
mmm,
i have just these two:
cake/libs/controller/app_controller.php
cake/console/libs/templates/skel/app_controller.php
On Sep 30, 11:41 am, "rich...@home" wrote:
> AppController doesn't go in the cake/ folder, it goes in your app
> folder:
>
> /app/app_controller.php
>
> class AppController e
AppController doesn't go in the cake/ folder, it goes in your app
folder:
/app/app_controller.php
class AppController extends Controller {
var $helpers = array("Html", "Form", "Javascript");
}
On Sep 30, 9:17 am, lorenx wrote:
> m, ok...
> i raised the issue just because the cookbook sa
m, ok...
i raised the issue just because the cookbook says "not to edit files
in cake/ folder"...
thanks.
On Sep 30, 2:12 am, brian wrote:
> On Tue, Sep 29, 2009 at 5:07 PM, lorenx wrote:
>
> > sure but...
> > is there a way to do it in the app/ area?
>
> Do you mean in individual controllers?
On Tue, Sep 29, 2009 at 5:07 PM, lorenx wrote:
>
> sure but...
> is there a way to do it in the app/ area?
Do you mean in individual controllers? Yes, but you'd have to add it
to all of them, so there's not much point. Besides, if you then ran
into a "missing controller" error or similar, you'd
sure but...
is there a way to do it in the app/ area?
On Sep 29, 10:43 pm, m lundvall wrote:
> 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('J
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 wrote:
> hi all,
> i'm wondering one thing:
> i under
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.
--~--~-~--~--
11 matches
Mail list logo