Album tree empty

brago

Joined: 2006-07-24
Posts: 20
Posted: Mon, 2007-12-10 20:59

Hi there,
I'm having troubles seting up the image chooser with my Joomla 1.5 site. What happens is that when clicking the G2 image in TinyMCE, I get a pop up window with the following information:

"Expand all | Collapse all
There are no photos in this album.

Please pick another album from the navigation options above."

But there are no albums showing in the left hand of the window. When clicking Expand all, I get a error message saying there is something wrong with the page.

Looking at the source code of the page, I can see the plug in has found the albums I do have in my gallery. Here's a part of the code:

<div class="dtree">
<p><a href="javascript: d.openAll();">Expand all</a> | <a href="javascript: d.closeAll();">Collapse all</a></p>
<script type="text/javascript">
<!--
d = new dTree("d");
d.add(0,-1,"Gallery","?current_album=7&sortby=title_asc&images_per_page=15");
d.add(1,0,"
Pineswamp Raceway GP 2007-10-13","?current_album=18&sortby=title_asc&images_per_page=15");
d.add(2,0,"Hemma hos Rejs #2 Marklandsgatans Raceway","?current_album=220&sortby=title_asc&images_per_page=15");
document.write(d);
//-->
</script>
</div>

Any ideas what went wrong and where I shall start to look?

Thanks
Stefan

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Mon, 2007-12-10 22:12

All of the dtree javascript is there to build the album tree. Please use Firebug to see if dtree is loading on the page. If it's not loading, make sure that g2image/jscripts/dtree.js is there and not corrupt.

Also, have you tried it in different browsers and on different computers?

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

 
tsd666

Joined: 2008-03-05
Posts: 4
Posted: Wed, 2008-03-05 17:26

I'got exactly the same problem. I'm using Joomla 1.5.1 and Gallery 2.2.4 and g2image-v3.0.2
Firebug sais dtree is loaded.
What is the mistake?

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Wed, 2008-04-23 12:43

Sorry for the delay in replying. Life got in the way of G2Image work for a while. I'm back to some development, trying to get G2Image upgraded to work with TinyMCE 3.0 first, and then to wrap up G2Image 3.1 and get it out the door.

When you click on the "Expand All" link, what is the exact javascript error? Firebug is a great way to see the errors, but the Java Console in Firefox will also show the error message.

FYI, I'm going to try to get 3.0.3 out the door next week. The only changes from 3.0.2 will be an updated interface with TinyMCE and JCE for TinyMCE 3.0 and replacing Lightbox with Slimbox. (Same functionality, just smaller download and fewer conflicts with other Lightbox installations.)

If anyone would like to sign up for the G2Image release announcements, you can do so at http://g2image.steffensenfamily.com/lists/ I'm the only person that can send anything to that list, and I only use it for version release announcements, so the traffic on it is very sparse and never spam.

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