Forums

WP-dTree
[resolved] Problems with 4.1 version (4 posts)

  1. cercleo
    Member
    Posted 1 year ago #

    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

  2. cercleo
    Member
    Posted 1 year ago #

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

    V

  3. ulfben
    Member
    Posted 1 year ago #

    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.

  4. cercleo
    Member
    Posted 1 year ago #

    Tx for your answer, ulfben.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic