How to change EXIF Glyphicon Bootstrap icon

Phoca Gallery - image gallery extension
jb80
Phoca Enthusiast
Phoca Enthusiast
Posts: 59
Joined: 16 Feb 2013, 16:53

How to change EXIF Glyphicon Bootstrap icon

Post 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/

Tags:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to change EXIF Glyphicon Bootstrap icon

Post 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
If you find Phoca extensions useful, please support the project
jb80
Phoca Enthusiast
Phoca Enthusiast
Posts: 59
Joined: 16 Feb 2013, 16:53

Re: How to change EXIF Glyphicon Bootstrap icon

Post by jb80 »

Thanks Jan, it worked perfectly.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to change EXIF Glyphicon Bootstrap icon

Post by Jan »

Ok, great to heart it.

Jan
If you find Phoca extensions useful, please support the project
Post Reply