Page 1 of 1

Buttons not displayed in detail view

Posted: 10 Oct 2012, 16:48
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.

Re: Buttons not displayed in detail view

Posted: 11 Oct 2012, 00:00
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

Re: Buttons not displayed in detail view

Posted: 12 Oct 2012, 15:40
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>\',

Re: Buttons not displayed in detail view

Posted: 14 Oct 2012, 00:56
by Jan
Hi, thank you very much for this info. I will fix it as soon as possible.

Thank you, Jan

Re: Buttons not displayed in detail view

Posted: 30 Dec 2012, 19:21
by Jan
Hi,
fixed in 3.2.3
Jan