thanks for the article abba. it doesn't seem to solve the view-layout problem, however. All I want is a total control over several views from within controller. The article uses a helper that is again called from within layout (or view).
On 11 sep., 21:54, abba bryant <[EMAIL PROTECTED]> wrote: > There is also a bakery > articlehttp://bakery.cakephp.org/articles/view/anything_for_layout-making-ht... > > I am not sure this addresses your need 100% but should be a better starting > point than a custom view class or hacks to the core. > > > > kevin kroe wrote: > > > Recently i implemented a controller that receive all requests, manage > > them and do all needed request actions, and them put all request > > action results into layout vars (using $this->set). > > > Didn't needed any core hack or crazy implementations, just a > > controller that receive all the params, manage them, and put the right > > contents in the right variables. > > > What i didn't understand when, was why can't i do a route that send > > all requests to my controller, > > > i.e. : $Route->connect('/*', array('controller' => 'homes', 'action' > > => 'index')); > > > so i resolved that "problem", making a hack on bootstrap.php changing > > the $_GET['url'] variable (that will be dispatched by Dispatcher) > > > ps. i'm using 1.1 > > -- > View this message in > context:http://www.nabble.com/The-forbidden-hack--%7C-An-attempt-to-redesign-... > Sent from the CakePHP mailing list archive at Nabble.com. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---