Module Configuration

Hi all,

I’m having some problems with module configuration. I created a module A. How do I

  1. configure the theme for module A in main.php and change the layout. Whenever I set the layout, it searches in /modules/views/layouts/ and that folder not exists.

  2. When I create a new module, a file named after “A.php” and it’s controllers and views folder are created in module folder. After that I create a new module “B”, all files of B module are created at the same folder “modules” like A. So how I controll the module and controller I access. For example : when I access A/controller/action, is it the same result as B/controller/action ?


Never mind, I understood.

Thanks anyway