Forums

[resolved] wp dTree NOT working when dTree in WPG2 is active!?? (4 posts)

  1. rasmuskarlsen
    Member
    Posted 4 years ago #

    Hey i have a little problem

    I wan't to use my WPG2 Album Tree... And still Use my WpdTree...

    When viewing my frontpage, and other wordpress pages, my WPG2 Album tree is working just fine... But when viewing my WPG2 side, My WpdTree is working fine, but not WPG2 album tree?

    How can i get the wpdtree to behave correct!? I think the to dtree's are conficting... But how can i repair wp-dTree? So it's not interrupting with WPG2 (Gallery2 embedded) Album Tree?
    My site is at: http://karlsengroup.dk

    How can this be fixed?

    Please help...

  2. ulfben
    Member
    Posted 4 years ago #

    What is happening is that you include both JavaScript source files on the site. Both of them include the class "dTree", so they collide. The last one included is the one that will be used.

    My version of dTree has been optimized a lot, and is therefore not compatible with the one WPG2 uses.

    You'll have to rename all instances of "dTree" in one of the scripts (and any other class names that's shared between the two scripts). Remember to change the name used in the PHP-code too. For WP-dTree you'd have to look into wp-dtree_gen-functions.php(that's where all javascript printing happens).

    If you're unsure of how to fix it yourself, I'm avaliable for hire. Email me (ulf at ulfben dot com) for a price quote.

  3. rasmuskarlsen
    Member
    Posted 4 years ago #

    Ulf > I wrote you an email about the subject... :)

  4. rasmuskarlsen
    Member
    Posted 4 years ago #

    Problem solved... They are now both working together :D

Topic Closed

This topic has been closed to new replies.

About this Topic