• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Layout manager I think.

Hi there. Can you please guide me on some layout manager i want to implement on my website. The problem is this, i am trying to make a controller for a certain view. eg(widget_navigation). Now what i accomplish so far is only the layout.I am having a hard time figuring out how can I can the controller when I load the home page and then the home controller will load the home view inside that home view individual widget will be included but all the functionality of those widget should come to a certain controller.eg(widget_controller). I know it can be accomplished by this code:
class Home extends CI_Controller {

public function index()

What I was trying to do is not to make the whole code to look like this on instead ill just call the home controller then go to home view after that widgets will be automatically loaded without calling it in home controller.

Please please any suggestion would help. Im trying to figure out if possible to make a widget loader of some kind. Just don't know how..

Thank you !!!!!

Messages In This Thread
Layout manager I think. - by El Forum - 06-11-2012, 07:38 PM
Layout manager I think. - by El Forum - 06-11-2012, 09:35 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.