Friday, February 5, 2010

Re: Organizing controllers in folders

Hi Mandy Singh,

I hope this would help you...

http://bakery.cakephp.org/articles/view/flexible-controller-and-modelpaths

just add another path...

enableSubFoldersOn(ROOT.DS.APP_DIR.'/controllers', $controllerPaths);
enableSubFoldersOn(ROOT.DS.APP_DIR.'/controllers/(subfolder)', $controllerPaths);



On Fri, Feb 5, 2010 at 10:30 AM, Mandy Singh <mandys@gmail.com> wrote:
>
> hi,
>
> is it possible to organize controllers under /app/controllers in sub-
> folders ?
>
> my module is growing huge and i would like to create sub directories
> under /app/controllers like "components" .
>
> let me know.
>
> i am on cakephp 1.2.
>
> thanks.
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
 
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: