2009/2/15 [email protected] <[email protected]>

>
> I haven't done, or tested, this - but a quick peak inside the "cake/"
> directory shows the file:
>
> cake/console/libs/tasks/controller.php

the original files are at:
cake\console\libs\templates\views\
We have  customized it and works fine, we left the original files as
*.orig... if anyone knows a more sophisticated way please let me know!

>
> which is what I think you will want to customise.
>
> Messing with Cake's core files is usually best avoided if at all
> possible.  I would guess that you should try *copying* this file into
> "app/vendors/shells/tasks" but I really don't knowif that is exactly
> right, or if having the file anywhere else is even possible.
>
> All else failing, just make sure that you have a pristine back up of
> the original "controller.php" task file before you start editing it in
> place.
>
> Best,
>
> Pete
>
> On Feb 15, 12:32 am, DrGaston <[email protected]> wrote:
> > The CakePHP manual already explains how to change the scaffolding
> > template for the views, but how can you change the way controller
> > functions are scaffolded? I would need to change some of the logic
> > there.
> >
> > Thanks.
> >
>


-- 
Best Regards
Tóth Imre

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