Welcome Guest, Not a member yet? Register   Sign In
Global View
#6

[eluser]jaswinder_rana[/eluser]
I did add it but it din't work.

I then searched in the forum and found that I need to change my controllers and change "extends Conntroller" to "extends MY_Controller" (I am calling it MY_Controller).

Is there a way around this? I am hoping not to do this as I have so many files. And if later on I want to change it then it'd be pain.

Lets say that I do change my views and load the data, but how can I pass it globally so that any view can access it? I am sending data to my views via $data array and then pass to it when I load that view ($this->load->view('view',$data)Wink

Thanks


Messages In This Thread
Global View - by El Forum - 01-03-2009, 01:54 PM
Global View - by El Forum - 01-03-2009, 02:29 PM
Global View - by El Forum - 01-03-2009, 02:37 PM
Global View - by El Forum - 01-03-2009, 02:42 PM
Global View - by El Forum - 01-03-2009, 02:43 PM
Global View - by El Forum - 01-04-2009, 02:22 PM
Global View - by El Forum - 01-04-2009, 03:45 PM



Theme © iAndrew 2016 - Forum software by © MyBB