thanks for interesting ideas, but me now mostly liked my version :)
just add to URL "MyPages/show/" and rerun __getController();
$_GET['url'] = 'sitepages/index/'.$_GET['url'];

imho defects :

>> Router::connect('/*', array('controller' => 'MyPages', 'action' => 'show'));
>> But remember to define _before_ it a route for each controller in your app. 
>> Ex:
>> Router::connect('/users/:action/*', array('controller' => 'users'));

here me does not liked manually setting exsits controllers...

>> Or implement something like this: 
>> http://snook.ca/archives/cakephp/static_pages_cakephp12/

by logic not so good to hide controller "redirect" to error hadler...
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to