What is the best way to do the above job in the FuelPHP?\Config::load('db', true);
In the results, it does treats the index.tpl like a PHP file - no smarty is being used there.Response::forge(ViewModel::forge('main/index.tpl'));
3) Yeah, when I use:'packages' => array(
'parser',
),
instead of the:return Response::forge(View_Smarty::forge('main/index.tpl');
in the app/classes/controller/main.php then Smarty is working on the index.tpl and I can use its methods.return Response::forge(ViewModel::forge('main/index.tpl'));
It looks like you're new here. If you want to get involved, click one of these buttons!