Welcome Guest, Not a member yet? Register   Sign In
Modular Layouting
#2

[eluser]gunter[/eluser]
hm, I never used the output class like this, but I think, in this case it has to look like this:
Code:
$strHTMLBody = $this->load->view('news/news_add', $data,TRUE);

remember: $this->load->view('file_name', $data, true/false) without the third argument the $this->load->view() does not return the view, but sends the view to the browser and if needed you can get this view in the output class with: $string = $this->output->get_output();


Messages In This Thread
Modular Layouting - by El Forum - 08-07-2007, 10:47 AM
Modular Layouting - by El Forum - 08-07-2007, 11:20 AM
Modular Layouting - by El Forum - 08-07-2007, 12:01 PM
Modular Layouting - by El Forum - 08-07-2007, 06:28 PM



Theme © iAndrew 2016 - Forum software by © MyBB