Buttons not displayed in detail view

Phoca Gallery - image gallery extension
User avatar
MartijnM
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 29 Apr 2012, 16:04

Buttons not displayed in detail view

Post by MartijnM »

Updated from Phocagallery 3.2.0 to 3.2.2
I think that the buttons at the Detail View are not displayed anymore.
Example:
Still 3.2.0: http://www.reisverslagen.net/fotogaleri ... /69-egypte
Testing 3.2.2: http://www.reisverslagen.eu/fotogalerij ... /69-egypte
All options are still the same.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Buttons not displayed in detail view

Post by Jan »

Hi, on the second site, there is some javascript error on the site which prevents from displaying the detail :idea:

Testing now on my test sites, without any problem :idea:

Jan
If you find Phoca extensions useful, please support the project
User avatar
MartijnM
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 29 Apr 2012, 16:04

Re: Buttons not displayed in detail view

Post by MartijnM »

Testing I found it's in the upgrade from 3.2.0 to 3.2.1.
It's in library/phocagallery/render/renderfront.php line 396
This is changed from

Code: Select all

html: \'<div class=\u0022closebutton\u0022 onclick=\u0022return hs.close(this)\u0022 title=\u0022Close\u0022></div>\',
Into

Code: Select all

html: \'<div class=\u0022closebutton\u0022 onclick=\u0022return hs.close(this)\u0022 title=\u0022'. JText::_( 'COM_PHOCAGALLERY_CLOSE_WINDOW' ).'\u0022>
It should be:

Code: Select all

html: \'<div class=\u0022closebutton\u0022 onclick=\u0022return hs.close(this)\u0022 title=\u0022'. JText::_( 'COM_PHOCAGALLERY_CLOSE_WINDOW' ).'\u0022></div>\',
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Buttons not displayed in detail view

Post by Jan »

Hi, thank you very much for this info. I will fix it as soon as possible.

Thank you, Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Buttons not displayed in detail view

Post by Jan »

Hi,
fixed in 3.2.3
Jan
If you find Phoca extensions useful, please support the project
Post Reply