Re: Moving /pages/ to /

2006-06-14 Thread JohnRobert
Thanks guys! I'll give this a try when i get a bit of free time. Great blog too Felix! I did have a look on there yesterday, but couldn't find that post! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP

Moving /pages/ to /

2006-06-13 Thread JohnRobert
Before I begin, I'm quite new to cake php (about 2 days using it). So far so good! Before I can fully commit, I need to be able to create static pages under / rather than only under /pages/. I had a go at changing some routes, to no avail! Before we continue, I'd also like to note I want /news/

Re: Moving /pages/ to /

2006-06-13 Thread Felix Geisendörfer
I think I've already created what you are looking for. Good luck with it ; ): http://www.thinkingphp.org/2006/05/17/url-aliases-for-cakephp/ I only use it on my webdesign page (see below), but it seems to work pretty well so far. Best Regards, Felix Geisendörfer aka the_undefined

Re: Moving /pages/ to /

2006-06-13 Thread tjquoll
That's pretty cool. I've been playing with a similar idea in a cms I'm building for our main business site. I've been searching the code looking for an alternative to doing the foreach ($paths-controllerPaths as $path) trick to get the controller names but haven't found any otherway yet. To