AFAIK bake.php will only operate on the /app folder structure.

i.e. /app/controllers, /app/models, /app/views/controller_name

So if my controller is called 'posts' and my model is called 'post' and I have the default actions 'add', 'view', 'edit', and 'delete' the bake.php script would generate the following files and nothing more...

/app/controllers/posts_controller.php
/app/models/post.php
/app/views/posts/add.thtml
/app/views/posts/edit.thtml
/app/views/posts/view.thtml
/app/views/posts/delete.thtml

If you are developing a plugin you will have to generate these with bake.php in the app directory and then move the files generated into the plugin structure.

On 8/26/06, bingo <[EMAIL PROTECTED]> wrote:

Hi John,

Thanks for the hint. After google search on "cakephp xampp
mod_rewrite", I got referred to
http://wiki.cakephp.org/docs:mod_rewrite .

Now I able to get stylesheet working.

But the other question still persist. I baked an application
'elearning' using bake.php script. It created a folder 'elearning' and
modules, controller, and view folder within the 'elearning' folder. But
when I create modules and controller using bake.php, they are created
within app folder. Do I need to copy modules and controller from there
to my elearning folder ?

thanks for the help
Regards



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to