I'm trying to create a menu with the library dhtmlxTree, but when I
use the loadXML method that is on the menu XML not loaded. The same as
I have done in CakePHP 1.3 and it works fine, the problem I have it
with CakePHP 2.0, and check the XML file format and is fine. This is
the code I use

tree = new dhtmlXTreeObject ("treeboxbox_tree", "100%", "100%", 0);
         tree.setImagePath ("<? php echo $ this-> Html-> webroot;?>
img / TreeMenu / csh_bluebooks /");
         tree.enableHighlighting (true);
         tree.loadXML ("<? php echo $ this-> Html-> url ('/
environments / TreeMenu')?>");


and this is the HTML code shown Firebug

tree = new dhtmlXTreeObject ("treeboxbox_tree", "100%", "100%", 0);
tree.setImagePath ("/ visorweb / img / TreeMenu / csh_bluebooks /");
tree.enableHighlighting (true);
tree.loadXML ("/ visorweb / environments / TreeMenu");

thanks

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to