Enrique
|
Posted: 06/20/2004, 4:05 PM |
|
HI, I dont know what I am doing wrong....
I created a page named menu (i made it includable)
I creaate a Label named menu_label in the page.
I go either to the OnInitializaView event of the page or to the OnBeforeShow event of the Label And I write
global $menu;
$menu->menu_label->SetVañlue("Anything");
At run time I get the error:
Fatal error: Call to a member function on a non-object in c:\inetpub\wwwroot\VID\menu_events.php on line 15
I am sure its a problem to easy to solve....
thx
|
|
|
Last Hero
|
Posted: 06/21/2004, 2:45 AM |
|
You make mistake.
Must be:
$menu->menu_label->SetValue("Anything");
|
|
|
|