It looks like you're new here. If you want to get involved, click one of these buttons!
class MY_blocks extends Fuel_blocks {
public $blocks_folder = '_blocks';
protected $module = 'blocks';
public function __construct() {
print('construct called !!!'); // ok work fine construct is called
}
public function render($params, $vars = array(), $check_db = TRUE, $scope = NULL)
{
$this->CI->load->library('parser'); // first problem
etc etc .... the actual render function of Fuel_blocks that i want to customize
------------------
}
}
I have this error :
$CI->load->library('MY_blocks');
$CI->my_blocks->render(array('view' => 'block_generic', 'mode' => 'view'));
Comments
in a static view i have and Works fine, i think i've just forgot the echo and actually want to die )
Sorry again, good week end