There is also a bakery article 
http://bakery.cakephp.org/articles/view/anything_for_layout-making-html-from-the-view-available-to-the-layout

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-Cake-View-handling-tf4422924.html#a12622391
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 [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