CI_Controller / fuel_vars
Hi,
Beginner's question:
How can i pass fuel_variables (defined in MY_fuel_layout and die CMS) with a CI_Controller.
It's not enough to just load the view.
function index()
{
$this->load->view('_layouts/start');
}
it says:
Undefined variable: ...
to all fuel_vars['...'] in the layout
if i don't have a controller, it works fine.
thanks!
Comments
http://www.getfuelcms.com/user_guide/general/creating-pages#controller
http://docs.getfuelcms.com/general/pages-variables