I am using Codeigniter: I have two controllers. They use different models. They have nothing in common. Controller 1 is a login controller it directs me to a secure page, if my login credentials are correct. I simply want Controller 2: to load only the middle part of this page, that's it. Why is it so damn difficult to do this with CI?
+-------------------------------------------------------+
|View "Home_Page" |
+--------------------------------------------------------
| TOP: |
|Controller 1: function checklogin(){} loads this part |
| |
--------------------------------------------------------+
|Middle: |
|Controller 2: function content(){ } loads this part |
| |
--------------------------------------------------------+
|Bottom: |
|Controller 1: function checklogin(){} loads this part |
| |
--------------------------------------------------------+