Fatal error using class

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

Quote · 21 Jun 2008

Check whether you have created an object for the class.

----
Quote · 21 Jun 2008

I'm trying to embed FusionCharts bar inside Dolphin designbox and there is a pre-define class they have had provided and after assigning the right parameters you need to call to $FC->renderCharts() function to render the chart.

It's working fine out side of Dolphin however all my tries to to call it failed. Now after I used:

$ret= <<<END
<div class="no_result"><div>
<script language='javascript' src='C:/webserver/ewp/Charts/JSClass/FusionCharts.js'></script>
<?
$oCharts->renderChart();
?>
</div></div>
END;

I'm getting two empty parallel lines EMPTY! Is Dophin preventing from render flash inside their designbox? I'm using the class BxbaseIndex.php (with the right entry in the pageCopose table) for this purpose.

I hope it's clear.

Yossi

Quote · 21 Jun 2008
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.