Category dhtml menu plugin is missing tree.js!?

Creating and modifying plugins.
Post Reply
Michael

Category dhtml menu plugin is missing tree.js!?

Post by Michael »

Hi,

I've just donloaded/ installed the category_dhtml_menu plugin via Spartacus and am getting a Javascript error on page load. The plugin is expecting a Javascript file (tree.js), which is not included in the plugin directory (Spartacus + CVS).

Will I have to create tree.js by myself or has it just gone missing in the download directory.

Any help much appreciated. Thanks,
-Michael
mgroeninger
Regular
Posts: 546
Joined: Mon Dec 20, 2004 11:57 pm
Contact:

Post by mgroeninger »

The javascript file comes with the pear HTML_Treemenu distribution.

But I believe it is called HTMLTree.js

Note, the images used by the plugin come from that distribution, as well. You will need to place them in whatever folder you specify in the configuration.

You can download the pear module here:
http://pear.php.net/package/HTML_TreeMenu/download

Or you can browse the source tree here:
http://cvs.php.net/cvs.php/pear/HTML_TreeMenu
Michael
Posts: 2
Joined: Wed Sep 07, 2005 3:49 am
Location: Sydney, Australia

Post by Michael »

Thanks!
Also found out later that I had a couple of configuration issues with my local PEAR install (e.g. plugins got installed in wrong directory).
Post Reply