• Resolved andre77

    (@andre77)


    I was happy to find the WP-dtree plugin. It is exactly what I’ve been looking for. But I am still not getting it to work. Instead of showing any menus, it is only outputting:

    if(document.getElementById && document.getElementById(‘oclinks_pge1’)){document.getElementById(‘oclinks_pge1’).style.display = ‘block’;}
    var pge1 = new wpdTree(‘pge1’, ‘https://localhost/testsite/’,’0′);
    pge1.config.useLines=1;
    pge1.config.useIcons=1;
    pge1.config.closeSameLevel=1;
    pge1.config.folderLinks=1;
    pge1.config.useSelection=1;
    pge1.a(0,’root’,”,”,”,”,”);
    pge1.a(24,0,’Om testsite’,”,’om-testsite’,”,”);
    pge1.a(48,45,’Bloggen’,”,’om-testsite/sociala-medier/bloggen’,”,”);
    pge1.a(38,36,’Kontakt’,”,’om-testsite/praktisk-information/kontakt’,”,”);

    etc…

    I’ve mainly been trying out the “pages”-widget, but I get the same results with the other ones.

    I also tried this on different testsites, different databases, and with a custom blank theme, and with the WordPress twentyten theme – same results.

    Am I missing something in the settings…? Or what can I do about this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author ulfben

    (@ulfben)

    Like it says in the Plugin description; this happens due to an incomplete installation that left your settings undefined. Just go to Settings -> WP-dTree and hit “Update settings”.

    Thread Starter andre77

    (@andre77)

    Thanks alot! ?? Its working now!

    I missed this info in the description tab. I was mostly searching through the forum and FAQ for the answer.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP-dtree is only outputting the code behind the menu’ is closed to new replies.