Welcome Guest, Not a member yet? Register   Sign In
Display different views depending on whether user is logged in - Best way?
#2

[eluser]sikkle[/eluser]
You have many choice there, to keep it light, just build a helper that you can use to load view.

Or directly if your view, if you want to keep it realy light, can if-else your stuff there. then load the good view.

You also can build your layout "modular" to make use of partial and stuff, you should look into the forum about HMVC.

Hope this short answer help.


Messages In This Thread
Display different views depending on whether user is logged in - Best way? - by El Forum - 05-21-2008, 12:46 PM



Theme © iAndrew 2016 - Forum software by © MyBB