• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do you work with Views within your Controller?

#3
[eluser]techgnome[/eluser]
Check out my posting in this thread http://ellislab.com/forums/viewthread/173268/

In short, I let my template load all of the redundant stuff - header, navigation, footer, etc... I pass a value from the controller to the template that says what the content should be and the view loads the main content view.

-tg


Messages In This Thread
How do you work with Views within your Controller? - by El Forum - 11-14-2010, 08:18 PM
How do you work with Views within your Controller? - by El Forum - 11-14-2010, 09:20 PM
How do you work with Views within your Controller? - by El Forum - 11-14-2010, 10:16 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.