• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Having some issues with my CI powered app. (Showing dynamic sidebar on every single page)

#2
[eluser]Chicken's Egg[/eluser]
Quote:Do I have to fetch the sidebar data for EVERY single controller I have?
Yes - as far as I do - you have. Personally I create a base_controller which extends the controller. Then I build the normal controller I need which extends the base_controller. The base_controller can take care af the sidebar and I don't have to think about copy pasting the code all the time.


Messages In This Thread
Having some issues with my CI powered app. (Showing dynamic sidebar on every single page) - by El Forum - 07-10-2008, 11:27 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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