I'm trying to create a simple treemenu, but I am getting an error in my path and cannot get past it.
The error reads "Fatal error: Call to undefined method TreeMenu::SetPath() in /homepages/37/d90436/htdocs/test/AMaster/PAGE_component_init.php on line 87"
define ("TREEMENU_DIR", "comp/tree/");
$treeMenu = new TreeMenu();
Line 87: $treeMenu->SetPath(TREEMENU_DIR);
I've tried several different versions of the path, such as
Nothing seems to work.
I looked into the treemenu.class.php code and did not see a SetPath() function. Should it be SetPath or something else?
Any help will be greatly appreciated.
Discuss everything related to ApPHP TreeMenu. Any questions related to the ApPHP TreeMenu developing or using should be posted to this forum.
2 posts • Page 1 of 1