Correct MVC way for tab application - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Correct MVC way for tab application (/showthread.php?tid=60252) |
Correct MVC way for tab application - El Forum - 02-14-2014 [eluser]Unknown[/eluser] I have a web app which consists of 4 tabs. Each of the tabs is a completely different section which means every tab is a controller. Is there an MVC way to load all the tabs in one page , without using libraries/private functions? Something like $this->load->controller() or? Correct MVC way for tab application - El Forum - 02-15-2014 [eluser]ivantcholakov[/eluser] HMVC Correct MVC way for tab application - El Forum - 02-15-2014 [eluser]Karman de Lange[/eluser] Hi, One way to leave controllers as is , is to simply leave the tabs blank and do a ajax call on tab "open" event to the correct controller and populate the tab with ajax response. Liaan |