Hello, I'm trying to code a site completely on ZF, however with all things that ZF includes I lose lots of time around MVC part - especially View. At the moment I got stuck with Template fragments or partials. Trying to do it in the way of best practice I only got more lost and frustrated so I had to turn here for help :)
I have main page or Home page. Sure this page is made by use of Layout that includes default.phtml as content. On the main page I'd have 10 last news, 10 last comments, 10 last posts etc. Since "10 last thing" would be quite reused over the site it would have to be fragment - for each of 10 one fragment (posts, comments, news ...). Now I don't know exactly what's the best way to do it, but my wish would be: 1 . to have separate HTML fragment combining it with any data filling fragment 2. to have "packed" combined HTML fragment and data filling fragment into something that can be reused through templates. How would that done ? -- View this message in context: http://www.nabble.com/View%2C-template-fragments-partials-tp15714051s16154p15714051.html Sent from the Zend Framework mailing list archive at Nabble.com.