Fusca using CakePHP
Aus Mein Wiki
Sebra (Diskussion | Beiträge) |
Sebra (Diskussion | Beiträge) (→change the HOME(page)) |
||
Zeile 20: | Zeile 20: | ||
== One Core, one App - multiple Domains == | == One Core, one App - multiple Domains == | ||
* http://bakery.cakephp.org/articles/eimermusic/2009/02/18/one-core-one-app-multiple-domains | * http://bakery.cakephp.org/articles/eimermusic/2009/02/18/one-core-one-app-multiple-domains | ||
+ | |||
+ | == change the HOME(page) == | ||
+ | The default loading page is static. To change this you can create an own 'PagesController' in Apps so the default PagesController from core will not be used anymore. Or you can change the default Router-Configuration in ''app/config/routes.php''. | ||
+ | * This should be the default: | ||
+ | Router::connect('/', array('controller' => 'pages', 'action' => 'display', 'home')); | ||
+ | |||
+ | * You can change in something like this: | ||
+ | Router::connect('/', array('controller' => 'news', 'action' => 'index')); |