Dynamic Controller
I would like to be able to have a single controller that handles other controllers . Basically I want to be able to 'install' a controller without modifying any files, so the 'installed' controller and views would live as text in the database and be called on either via the handlercontroller/installedcontroller/function/values or directly. Anyone have any idea how I might go about doing this? Thank you in advance! ~stillboy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: Dynamic Controller
Ok, I think using routes I may be able to accomplish this. Can anyone tell me what will happen with this route: Router::connect('/*', array('controller' = 'plugins', 'action' = 'subdispatch')); From what I understand, then everything will match to that - or should that line -the /* definitely not happen? ~stillboy On Jun 7, 7:43 am, stillboy [EMAIL PROTECTED] wrote: I would like to be able to have a single controller that handles other controllers . Basically I want to be able to 'install' a controller without modifying any files, so the 'installed' controller and views would live as text in the database and be called on either via the handlercontroller/installedcontroller/function/values or directly. Anyone have any idea how I might go about doing this? Thank you in advance! ~stillboy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: CakePHP error when upload to server, pls, help me.
Have you tried renaming that folder? the TT.CMS to remove the '.' ? That seems like it might make something unhappy. ~stillboy On May 14, 1:00 am, ngonchan [EMAIL PROTECTED] wrote: When I install and develop CakePHP (1.2.0.6311-beta) on localhost, it play well. But when I upload it to a server (Unix, ofcourse, with .htaccess file) it didn't run right. Mod_rewrite url's not correct. pls see:http://antik-guide.de/TT.CMS Maybe the .htaccess in server fighting with .htaccess in CakePHP folder. :( I can't edit http.conf file in apache folder on this server, I uploaded .htaccess from Official CakePHP page to this server, too, but I can't solve this problem. Who can help me to solve this? Thanks a lot. Sorry for my bad English. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---