Object not found clicking on node tree

Phoca Gallery - image gallery extension
dcima
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 15 Oct 2015, 09:39

Object not found clicking on node tree

Post 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!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Object not found clicking on node tree

Post 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
If you find Phoca extensions useful, please support the project
Post Reply