Have a look at prefix routing:
http://book.cakephp.org/view/544/Prefix-Routing
What you'll end up with is, for example:
config/core.php
// enable admin routing
Configure::write('Routing.admin','admin');
controllers/news_controller.php
NewsController {
function index() {
// this is pu
Okay, I found this example here:
http://www.jamesfairhurst.co.uk/posts/view/creating_an_admin_section_with_cakephp/
which talks me through how to create an admin area. It's actually
pretty simple, starting by just uncommenting the admin routing line
in /app/config/core.php.
However, when I'm log
Hi,
I'm brand new to php and the MVC style of development. I've read some
of the cakephp documentation and it makes sense in theory, so I'm keen
to push on. However, the first task I've set myself is to build a
simple website and CMS for displaying and administering news
articles. I have built