> I would:
>
>  * create a method in your model to fetch the data
>  * create a method in your controller to access this data
>  * create an element that calls via 'requestAction' the data from the 
> controller
>  * insert this element into your layout and add array('cache'=>'1 hour');

take a look at 
http://bakery.cakephp.org/articles/view/creating-reusable-elements-with-requestaction
for ideas.

jon

-- 

jon bennett
w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to