[eluser]keithics[/eluser]
Hello Guys,
I have a website which has a header in all pages. This header has to query (using a model) from a database like getting all the product categories and display it as a drop down (in the header).
The question is.. how can I get the categories without having to put $this->posts_model->get_cat() in all functions and classes?
note: model is autoloaded.