• Resolved cercleo

    (@cercleo)


    Hi,

    I just installed the latest version of WP-Tree (4.1) and I lost everything I had, ie Categories and Archives trees :- (

    After playing a bit with the parameters, I got a looooong code line as followed :

    if(document.getElementById && document.getElementById(‘oclinks_cat1’)){document.getElementById(‘oclinks_cat1’).style.display = ‘block’;} var cat1 = new wpdTree(‘cat1’, ‘http://cercleo.net/’,’125′); cat1.config.useLines=1; cat1.config.useIcons=0; cat1.config.closeSameLevel=1; cat1.config.folderLinks=0; ETC ETC ETC

    Am I doing something wrong? I guess so, but I don’t know what. The new version is so different from the previous one.

    Tx for any hint/help.

    V

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter cercleo

    (@cercleo)

    I just changed the “Javascript escape method:” to “No escape”, and everything shows fine, but I don’t know the implications of this.

    V

    Plugin Author ulfben

    (@ulfben)

    Most likely (and for some reason) your settings did not get properly initialized. The javascript-escape setting *also* holds the actual javascript-tags – thus; if the settings are not initialized your javascript would print as plain text to the page.

    By manualy adjusting the setting you have initialized it.

    If you swap it back to XHTML or HTML now, you’d probably find that everything works just fine.

    As for the implications of this settings, it’s just for validation. I’m non even sure javascript-escaping is needed anymore – so I left it in and it’s up to each user to try the settings and validating their site.

    Thread Starter cercleo

    (@cercleo)

    Tx for your answer, ulfben.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: WP-dTree] Problems with 4.1 version’ is closed to new replies.