[eluser]skattabrain[/eluser]
in all my views, i load 1 header.php file to build the navigation. in that nav, i want to include a "Messages" link that will show up if there is a new unread message for the user in the database.
i want this on every page, all the time (aside form ajax calls) and i don't want to deal with it in every controller. i want to set it in 1 place and that's it.
basically i need this query run on every page load. any ideas on the best way to handle this?