Problem with Gallery2 and WP-dTree...(SOLVED!)

rasmuskarlsen

Joined: 2007-05-02
Posts: 55
Posted: Wed, 2007-10-31 20:00

I'm having some problems with my wordpress blog.
I'm running Wordpress 2.3, Gallery 2.2.3 and the latest WPG2 3.0.2

I want to use the Wp-dTree widget plugin for wordpress:
http://karlsengroup.dk/betaside/working.JPG

But when activating WPG2 something is causing WP-Dtree not working anymore?
http://karlsengroup.dk/betaside/notworking.JPG

Why is this happening?

My site is at: http://karlsengroup.dk/betaside/

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Wed, 2007-10-31 20:34

It's because WPG2 uses dtree for the WPG2 Album Tree widget. You're probably getting conflicting javascripts loaded.

Try commenting out line 507 in wpg2functions.inc by adding two slashes at the beginning of the line so that it looks like this:

//		echo '<script language="javascript" type="text/javascript" src="'.get_bloginfo('wpurl').'/wp-content/plugins/wpg2/js/dtree.js"></script>'."\n";

I'm not sure that the other plugin's dtree script will work with WPG2, but if they didn't make any modifications to it, it should.

Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website

 
rasmuskarlsen

Joined: 2007-05-02
Posts: 55
Posted: Thu, 2007-11-01 18:10

Nice :D

This seems to work... so far i haven't expirienced any errors... :)

Thank you very much.

 
rasmuskarlsen

Joined: 2007-05-02
Posts: 55
Posted: Thu, 2007-12-27 22:03

Hmm, i suddenly have a problem...

I wan't to use my WPG2 Album Tree... And still Use my WpdTree... So i have deleted the "Comment string" earlier mentioned...
But Of course this again results in an error...

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?

My site is at: http://karlsengroup.dk

How can this be fixed?

Please help...

 
rasmuskarlsen

Joined: 2007-05-02
Posts: 55
Posted: Sun, 2007-12-30 22:00

Peoblem is now solved. Both dTree's are now working well together :D