Re: HTML_Menu - Problem with external links

From: Date: Fri, 11 Jun 2004 12:33:51 +0000
Subject: Re: HTML_Menu - Problem with external links
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-13100@lists.php.net to get a copy of this message
Urgh! The answer was so simple. All internal urls in the $menu data provided must begin with "/" in order to be mapped from the root directory. I changed my urls from (for example) "index.htm" to "/index.htm" and all my problems vanished. No need to forceURLs or add prefixes. Too easy. Leonie

« previous php.pear.general (#13100) next »