How to change EXIF Glyphicon Bootstrap icon

Before you ask see the Phoca Gallery User Manual
jb80
Phoca Member
Phoca Member
Posts: 38
Joined: 16 Feb 2013, 16:53

How to change EXIF Glyphicon Bootstrap icon

Post by jb80 » 08 Dec 2017, 00:53

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: 39069
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to change EXIF Glyphicon Bootstrap icon

Post by Jan » 09 Dec 2017, 14:24

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 Member
Phoca Member
Posts: 38
Joined: 16 Feb 2013, 16:53

Re: How to change EXIF Glyphicon Bootstrap icon

Post by jb80 » 09 Dec 2017, 16:57

Thanks Jan, it worked perfectly.

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

Re: How to change EXIF Glyphicon Bootstrap icon

Post by Jan » 10 Dec 2017, 20:46

Ok, great to heart it.

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

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 3 guests