Welcome Guest, Not a member yet? Register   Sign In
HMVC question
#8

[eluser]MikeHibbert[/eluser]
Thats not really the way CI works, try this:

in your controller:

Code:
$data['message'] = "some message";

$this->load->view(‘firstpage/views/firstpage’, $data);

Then in your view:

Code:
if(isset($message)) {
  echo $message;
}

Thats normal way of passing special case text into a page when using CI

Hope that helps

Mike


Messages In This Thread
HMVC question - by El Forum - 02-02-2009, 05:00 AM
HMVC question - by El Forum - 02-02-2009, 10:42 AM
HMVC question - by El Forum - 02-02-2009, 03:30 PM
HMVC question - by El Forum - 02-02-2009, 03:32 PM
HMVC question - by El Forum - 02-02-2009, 03:42 PM
HMVC question - by El Forum - 02-02-2009, 03:51 PM
HMVC question - by El Forum - 02-03-2009, 02:11 AM
HMVC question - by El Forum - 02-04-2009, 04:44 AM
HMVC question - by El Forum - 02-04-2009, 06:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB