Welcome Guest, Not a member yet? Register   Sign In
newbie question: using templates
#3

[eluser]techgnome[/eluser]
a) There seems to be a mixed opinion on this... I've seen people insist that if you call a view from another view, you need to re-pass the data through to it... my own experience has shown this to not be true. So I'm not sure what the deal is.

b) If you have models that you use on every single page, those are the ones you should autoload. This way you don't have to load it yourself each and every time in your controllers. And, yes you cna use multiple models in a controller with out autoloading them, but like I said, auto,oading them is simply a short cut if you have models that you use on every page.

-tg


Messages In This Thread
newbie question: using templates - by El Forum - 10-31-2010, 10:40 AM
newbie question: using templates - by El Forum - 10-31-2010, 11:04 AM
newbie question: using templates - by El Forum - 10-31-2010, 11:12 AM
newbie question: using templates - by El Forum - 10-31-2010, 11:18 AM
newbie question: using templates - by El Forum - 10-31-2010, 11:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB