View Single Post
  #8 (permalink)  
Old 06-04-2008, 12:34 PM
greenio greenio is offline
Junior Member
 
Join Date: May 2008
Posts: 5
Default

I was looking for a way to do much the same as asabi but couldnt find a way to do it.

So now for this project i have simple classes with __toString methods that generate dynamic little 'building blocks' into the layout. At least it uses the same models as the other parts of the project so theres not too much code duplication. It works but i would have prefered a way to call a controller and action to produce a '5 last comments'-block, or '10 most viewed blogs'-block and so on.

If theres a good way to do that i would like to know for the next project.
I know theres an actionStack helper that i havent really looked at enough to know if it would work.
Reply With Quote