Welcome Guest, Not a member yet? Register   Sign In
loading a view from a variable
#3

[eluser]Nir Gavish[/eluser]
thanks for a fast reply. however, this is not what i'm looking for. i'll elaborate:

i have a view which is the skin of the website, header, footer, sidebar, with an area for content.

now, normally, i would have a 'load->view' method in the content area, which will load the correct view.

however, what i'm aiming for is that this view will contain only "<div id='content'></div>", and i will process it into "<div id='content'>&lt;?$this->load->view($x)?&gt;</div>"

i cannot do it with $return=true, since the view will already be processed, and thus i cannot load internal views.

is that making any sense?


Messages In This Thread
loading a view from a variable - by El Forum - 07-13-2009, 02:27 PM
loading a view from a variable - by El Forum - 07-13-2009, 02:40 PM
loading a view from a variable - by El Forum - 07-13-2009, 02:50 PM
loading a view from a variable - by El Forum - 07-13-2009, 02:55 PM
loading a view from a variable - by El Forum - 07-13-2009, 03:01 PM
loading a view from a variable - by El Forum - 07-14-2009, 04:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB