Welcome Guest, Not a member yet? Register   Sign In
Problem with the use of templates
#7

[eluser]MarvinLeRouge[/eluser]
Hi,

So you would opt for an option
- i load all the data in the same controller, whichever page i'm on
- then i send the data block to the template
- and the template checks the data content to see what it should display
Wouldn't it be better to have one "wrapper" controller, which would call the headers and footers controllers, and a content controller depending on the page you're on ?


Messages In This Thread
Problem with the use of templates - by El Forum - 11-12-2010, 08:16 AM
Problem with the use of templates - by El Forum - 11-12-2010, 08:56 AM
Problem with the use of templates - by El Forum - 11-12-2010, 12:12 PM
Problem with the use of templates - by El Forum - 11-12-2010, 01:06 PM
Problem with the use of templates - by El Forum - 11-12-2010, 03:17 PM
Problem with the use of templates - by El Forum - 11-12-2010, 09:18 PM
Problem with the use of templates - by El Forum - 11-15-2010, 03:33 AM
Problem with the use of templates - by El Forum - 11-20-2010, 04:07 AM
Problem with the use of templates - by El Forum - 11-21-2010, 08:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB