Change the way your app is designed. When a page gets called you have some ways to identify that page through the url controller class + action that was called.
If your blocks know on what page they should render you could have a single method in a model that you can call in AppController::beforeRender() that will fetch all the required blocks and set them to the views. On Thursday, June 28, 2012 5:17:04 AM UTC+2, Dr. Tarique Sani wrote: > > Had a similar situation - as a last bummer resort we converted > everything to custom helpers and used models (with custom model > methods) and caching directly in the helpers > Congratulations for totally breaking a *MVC* framework... -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
