[eluser]daweb[/eluser]
Ops...
I think I solved it.
First I have to declare this:
Code:
$this->ocular->set_view_data('body_id', 'page_vendita');
in my method and not in the _remap function
Second, I think this is the right code to your Ocular.php library:
Code:
/* BODY ID */
if (empty($this->_view_data['body_id'])) {
$this->_view_data['body_id'] = ' id="' . $cont . '" ';
} else {
$this->_view_data['body_id'] = ' id="' . $this->_view_data['body_id'] . '"';
}
Hope it helps.
Regards