Page 1 of 1

How to change EXIF Glyphicon Bootstrap icon

Posted: 08 Dec 2017, 00:53
by jb80
I want to change the default "camera" bootstrap icon which launchs the EXIF modal window with a different Bootstrap Glyphicon. I am requesting some guidance on which file needs to be modified to implement the following class change;

Default "camera" Glyphicon

Code: Select all

<span class="glyphicon glyphicon-camera"></span>
New "info-sign" Glyphicon

Code: Select all

<span class="glyphicon glyphicon-info-sign"></span>
https://glyphicons.bootstrapcheatsheets.com/

Re: How to change EXIF Glyphicon Bootstrap icon

Posted: 09 Dec 2017, 14:24
by Jan
Hi,
administrator\components\com_phocagallery\libraries\phocagallery\render\renderfront.php

method renderIcon

change:

Code: Select all

case 'camera':			$i = 'camera';break;
to:

Code: Select all

case 'camera':			$i = 'info-sign';break;
Jan

Re: How to change EXIF Glyphicon Bootstrap icon

Posted: 09 Dec 2017, 16:57
by jb80
Thanks Jan, it worked perfectly.

Re: How to change EXIF Glyphicon Bootstrap icon

Posted: 10 Dec 2017, 20:46
by Jan
Ok, great to heart it.

Jan