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

[eluser]Unknown[/eluser]
Hello,

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?
#2

[eluser]Unknown[/eluser]
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