[eluser]Nalorin[/eluser]
I'm working on a site that will have multiple parts of the page be dependent upon database content. One section will be list of categorical filters. Another will be a list of other filters (for example: price, condition, etc), and the main area will be search results after the filters have been applied.
I'm not quite sure how I would accomplish this. I tried something similar to this:
Code:
<html>
<body>
<div id='categories'> <?php $this->load->controller('categories'); ?> </div>
<div id='filters'> <?php $this->load->controller('filters'); ?> </div>
<div id='main_content'> <?php $this->load->controller('main'); ?> </div>
</body>
</html>
only to learn (as I expected) that controllers cannot be loaded from views.
Does anyone have any suggestions on how I may accomplish this?
Any help would be greatly appreciated! Thanks in advance!