Couldn't you create an Element for the data? http://manual.cakephp.org/chapter/views
On Jul 30, 6:58 pm, Grant Cox <[EMAIL PROTECTED]> wrote: > Are you talking about several different "skins", but really the same > data and presentation? Or are you talking about some non-trivial data > calculation, then you want to show the result in several independent > areas of your site? I'm just not sure of the reason for the several > views on a single action. > > For the former, have a variable (perhaps session) that determines > which layout to use, or even to choose another view file to render (if > the structure needs to be quite different). For the latter, you > should move the functionality into the appropriate model or component > file, so that it can be called from any number of controller actions > without duplication. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
