I'm also trying to pass to the designbox this content where $FC is a class:
$table.= '<td valing= "top" "align="center">' .$FC->renderChart() .'</td>';
$table.='</tr>';
$table.='</tbody>';
$table.='</table>';
$caption_item = '<div class="caption_item">';
$caption_item .= '</div>';
$sRetHtml .= DesignBoxContent( _t('_Portal information'), '<top>'. $table .'</center>',1,$caption_item);
and I'm getting an error:
Fatal error: Call to a member function render() on a non-object.
When I'm trying it outside of Dolphin it works fine...!
Any help?
Yossi