2Code
Posts: 24
|
Posted: 05/01/2014, 2:21 PM |
|
I have a nav page that is includable page the nav works great
in a div I have a label called comms
and on that label I have before show
ob_start();
include ("includes/comms.php");
$html =ob_get_contents();
ob_end_clean();
$comms->SetValue($html);
how ever it gives me the following error
Notice: Undefined variable: comms in /includes/header_events.php on line 20
Fatal error: Call to a member function SetValue() on a non-object in /includes/header_events.php on line 20
this is line 20
$comms->SetValue($html);
|
|
|
ckroon
Posts: 869
|
Posted: 05/01/2014, 3:09 PM |
|
Try
$Component->SetValue($comms);
in the before show event of the Label.
_________________
Walter Kempees...you are dearly missed. |
|
|
|