Knowledge Base - How to remove Powered By Phoca Gallery in Joomla

Phoca Gallery v4.3.10
------------------------

Open: renderfront.php
Located here:
public_html/administrator/components/com_phocagallery/libraries/phocagallery/render/

Line: 499

Change this:
public static function renderInfo() {
return '<div style="text-align: center; color: rgb(211, 211, 211);">Powe'
. 'red by <a href="http://www.ph'
. 'oca.cz" style="text-decoration: none;" target="_blank" title="Phoc'
. 'a.cz">Phoca</a> <a href="http://www.phoca.cz/phocaga'
. 'llery" style="text-decoration: none;" target="_blank" title="Phoca Gal'
. 'lery">Gall'
. 'ery</a></div>';
}

To This:
public static function renderInfo() {
return;
}


==================================================

Open: view.html.php
Located here:
public_html/components/com_phocagallery/views/category/

Line: 1956

Change this:
$this->tmpl['elf'] = '<div style="text-align:right;color:#ccc;display:block">Powered by <a href="http://www.phoca.cz/phocagallery">Phoca Gallery</a></div>';

To This:
$this->tmpl['elf'] = '<div style="text-align:right;color:#ccc;display:block"></div>';

 

Phoca Gallery v4.3.10

Open: view.html.php
Located here: 
public_html/components/com_phocagallery/views/category/

Line: 2147

Change this: 
$this->tmpl['ebc'] = '<div style="text-align:right;color:#ccc;display:block">Powered by <a href="http://www.phoca.cz/phocagallery">Phoca Gallery</a></div>';

To This:
$this->tmpl['ebc'] = '<div style="text-align:right;color:#ccc;display:block"></div>';

===================================================

Open: view.html.php
Located here:
public_html/components/com_phocagallery/views/categories/

Line: 409

Change this:
$this->tmpl['ems'] = '<div style="text-align:right;color:#ccc;display:block">Powered by <a href="http://www.phoca.cz/phocagallery">Phoca Gallery</a></div>';

To This:
$this->tmpl['ems'] = '<div style="text-align:right;color:#ccc;display:block"></div>';

 

Phoca Gallery v4.3.10

Open: view.html.php
Located here: 
public_html/components/com_phocagallery/views/categories/

Line: 459

Change this: 
$this->tmpl['set'] = '<div style="text-align:right;color:#ccc;display:block">Powered by <a href="http://www.phoca.cz/phocagallery">Phoca Gallery</a></div>';

To This:
$this->tmpl['set'] = '<div style="text-align:right;color:#ccc;display:block"></div>';

====================================================

Phoca Gallery v4.3.11 to v4.3.18

Do the same above plus...

Open: utils.php
Located here: 
public_html/administrator/components/com_phocagallery/libraries/phocagallery/utils/

Line: 156 (bottom of page)

Change this: 
return '<div style="text-align:right;color:#ccc;display:block">Powered by <a href="https://www.phoca.cz/phocagallery">Phoca Gallery</a></div>';

To This:
return '<div style="text-align:right;color:#ccc;display:block"></div>';

====================================================

Phoca Gallery v4.4.x

Do the same above plus...

Open: utils.php
Located here: 
public_html/administrator/components/com_phocagallery/libraries/phocagallery/utils/

Line: 23

Change this: 
return '<div style="display:block;color:#ccc;text-align:right;">Powered by <a href="https://www.phoca.cz/phocagallery">Phoca Gallery</a></div>';

To This:
return ;

Open: renderfront.php
Located here:
public_html/administrator/components/com_phocagallery/libraries/phocagallery/render/

Line: 497

Change this:
public static function renderInfo() {
return '<div style="text-align: center; color: rgb(211, 211, 211);">Powe'
. 'red by <a href="http://www.ph'
. 'oca.cz" style="text-decoration: none;" target="_blank" title="Phoc'
. 'a.cz">Phoca</a> <a href="http://www.phoca.cz/phocaga'
. 'llery" style="text-decoration: none;" target="_blank" title="Phoca Gal'
. 'lery">Gall'
. 'ery</a></div>';
}

To This:
public static function renderInfo() {
return ;
}

 

Details

Created : 2017-06-09 18:46:56, Last Modified : 2022-09-24 05:07:24