Re: re: TreeMenu and Recursive algorithms
| From: | Demian Turner | Date: | Fri, 11 Apr 2003 14:04:17 +0000 |
| Subject: | Re: re: TreeMenu and Recursive algorithms | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-4800@lists.php.net to get a copy of this message | ||
Hi Joseph,
"Notice: Undefined index: text in /usr/local/Zend/lib/php/HTML/TreeMenu.php on line 165",you could lower error reporting using error_reporting() if you don't want to modify TreeMenu() http://www.php.net/manual/en/function.error-reporting.php
also how would I specify a link for each node which needs to pass the categorories id via the url ?I've did this by changing line 631 in TreeMenu.php as follows: !empty($nodeObj->link) ? "'" . $nodeObj->link . $nodeObj->id .")'" : 'null', strangely this worked fine in v. 1.1.4, but something changed in 1.1.5, haven't had time to investigate. cheers, Demian