[eluser]rjani[/eluser]
Hey guys, I'm new to this forum and also CodeIgniter, and I hope you can help me out.
I'm creating a website, and for easier debugging and development, I thought it'd be good to separate the main controller functions, so that I have a function for example, that communicates with the database ( through a model ) and loads the sidebar. And another one for displaying the navigation, and so on...
Then my index function calls them when needed.
My question is, how can I hide these "include" functions?
Because now if I let's say, go to mysite.com/home/displaysidebar, it displays the sidebar alone, and I don't want that.
Thanks in advance!