CodeIgniter Forums

Full Version: One question about CI
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

Hi, a can't explain my issue in post theme but I write here.

I am developing one site, and on the front of site, I have sidebar, there is list of most related posts.

I want that related posts show on every page of my site, and I must call method which get info from DB in every controller.

How can i call method once? Can I use file system/core/Controller.php and how?