Welcome Guest, Not a member yet? Register   Sign In
Hooks and Params?


I've created a hook to basically wrap a header and footer view around the original view output. It works great but what I'm wanting to do is basically pass the hook a param to toggle whether or not to include the header and footer views. I'd like to so this when I call the $this->load->view('view') method.

Is this possible?

If passing a param to the hook isn't possible, is it possible to disable the 'display_override' hook at the controller/method level?

Theme © iAndrew 2016 - Forum software by © MyBB