Welcome Guest, Not a member yet? Register   Sign In
Whi CI doesn't have Layouts implemented?
#16

[eluser]jacobc[/eluser]
[quote author="Colin Williams" date="1236951009"]Moving layout-related views loading to a parent controller (MY_Controller) opens up a lot more possibilities and flexibility.[/quote]
I haven't really considered that approach but I like the idea...

I don't particularly like the idea of passing variables into the view for the header, footer, etc.

I was thinking you could use $protected variables in the controller to define which layout to use. Then the parent controller could somehow handle that... I might have a play around.
Could be nice to have $protected variables for which menu, layout, etc to have...


Messages In This Thread
Whi CI doesn't have Layouts implemented? - by El Forum - 03-12-2009, 12:49 PM
Whi CI doesn't have Layouts implemented? - by El Forum - 03-12-2009, 02:01 PM
Whi CI doesn't have Layouts implemented? - by El Forum - 03-12-2009, 02:47 PM
Whi CI doesn't have Layouts implemented? - by El Forum - 03-12-2009, 03:04 PM
Whi CI doesn't have Layouts implemented? - by El Forum - 03-12-2009, 03:11 PM
Whi CI doesn't have Layouts implemented? - by El Forum - 03-12-2009, 08:06 PM
Whi CI doesn't have Layouts implemented? - by El Forum - 03-12-2009, 08:10 PM
Whi CI doesn't have Layouts implemented? - by El Forum - 03-12-2009, 08:44 PM
Whi CI doesn't have Layouts implemented? - by El Forum - 03-12-2009, 08:46 PM
Whi CI doesn't have Layouts implemented? - by El Forum - 03-12-2009, 08:52 PM
Whi CI doesn't have Layouts implemented? - by El Forum - 03-12-2009, 08:55 PM
Whi CI doesn't have Layouts implemented? - by El Forum - 03-12-2009, 09:15 PM
Whi CI doesn't have Layouts implemented? - by El Forum - 03-12-2009, 09:33 PM
Whi CI doesn't have Layouts implemented? - by El Forum - 03-13-2009, 02:22 AM
Whi CI doesn't have Layouts implemented? - by El Forum - 03-13-2009, 02:30 AM
Whi CI doesn't have Layouts implemented? - by El Forum - 03-13-2009, 03:02 AM
Whi CI doesn't have Layouts implemented? - by El Forum - 03-13-2009, 03:15 AM
Whi CI doesn't have Layouts implemented? - by El Forum - 03-14-2009, 08:34 AM
Whi CI doesn't have Layouts implemented? - by El Forum - 03-14-2009, 08:50 AM
Whi CI doesn't have Layouts implemented? - by El Forum - 05-22-2009, 07:26 AM
Whi CI doesn't have Layouts implemented? - by El Forum - 05-22-2009, 07:39 AM
Whi CI doesn't have Layouts implemented? - by El Forum - 05-22-2009, 07:44 AM
Whi CI doesn't have Layouts implemented? - by El Forum - 05-22-2009, 07:50 AM
Whi CI doesn't have Layouts implemented? - by El Forum - 05-22-2009, 07:53 AM
Whi CI doesn't have Layouts implemented? - by El Forum - 05-22-2009, 08:02 AM
Whi CI doesn't have Layouts implemented? - by El Forum - 05-22-2009, 08:30 AM
Whi CI doesn't have Layouts implemented? - by El Forum - 05-22-2009, 08:35 AM
Whi CI doesn't have Layouts implemented? - by El Forum - 05-22-2009, 08:38 AM
Whi CI doesn't have Layouts implemented? - by El Forum - 05-22-2009, 08:38 AM
Whi CI doesn't have Layouts implemented? - by El Forum - 05-22-2009, 09:50 AM
Whi CI doesn't have Layouts implemented? - by El Forum - 05-22-2009, 09:56 AM
Whi CI doesn't have Layouts implemented? - by El Forum - 05-22-2009, 10:42 AM
Whi CI doesn't have Layouts implemented? - by El Forum - 05-22-2009, 12:09 PM
Whi CI doesn't have Layouts implemented? - by El Forum - 05-22-2009, 11:36 PM
Whi CI doesn't have Layouts implemented? - by El Forum - 05-23-2009, 12:51 AM
Whi CI doesn't have Layouts implemented? - by El Forum - 05-23-2009, 01:38 AM
Whi CI doesn't have Layouts implemented? - by El Forum - 05-26-2009, 10:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB