Wednesday, June 29, 2011

Re: using subfolder in views

You can use a different view, even in a subdirectory (or in a totally different directory if you play with relative paths) by using the Controller's render() method:
http://book.cakephp.org/view/980/render

Cheers,
- Johan

On Wed, Jun 29, 2011 at 2:53 AM, nOLL <hasnolmohd@gmail.com> wrote:
Hi,

In app folder i have   "app/views/tests/mails/testing.ctp"
But, i have a problem to view the testing in tests_controller.
The problem is there is no testing() in  tests_controller.
Is it possible to create a subfolder or is there another way to
implement it.

Thanks.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


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

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
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

No comments: