Page 1 of 1

Object not found clicking on node tree

Posted: 30 Oct 2015, 19:09
by dcima
Hi everyone,

I have a lot of album on picasa web albums that I want show grouoped by year so I've created many categories with label the year.

It works.

Clicking on a leave (a album linked on Picasa) display correctly the previews of the photos; clicking on the root works displaying the folders images, but, clicking on a a node (represented by the category year) give me an "Object not found" error.

After some research i've by-passed this changing /modules/mod_phocagallery_tree/assets/dtree.js adding after line 133 these:

Code: Select all

	if( node.url.indexOf('/gevbologna') > -1 ) {
		if( node.url.indexOf('index.php') == - 1) {
			node.url = "/gevbologna/index.php/" + node.url.substring(12);
		}
	}
With this patch I can open correctly every node and leave of the gallery tree but, of course, I know that is not the optimal solution ... :D
I'm quite new on Joomla ...

Any "definitive" patch ? :idea:

url: http://5.249.146.45/gevbologna/index.ph ... /5-storico

Please note that not all links works (updating picasa web album in progress ...)

ciao!

Re: Object not found clicking on node tree

Posted: 06 Nov 2015, 20:01
by Jan
Hi, on the site, you have applied the patch, as I don't get any error there?

So this seems that there is some javascript problem directly in dtree.js and as I am not developer of this javascript, I think, I don't have any better patch for now :idea:

Jan