Monday, May 16, 2011

Remove "Powered by Phoca Gallery" Text

Phoca Gallery is a fantastic open source extension for Joomla. It is a full featured photo gallery that is fairly easy to use. Phoca Gallery is open source GPL. By default Phoca Gallery puts a "Powered by Phoca Gallery" copyright line in the footer of every Phoca page. If it's your own website you might not mind giving credit to the developer as they deserve then it might be ok but when I've used it on a client website I have always been asked to remove it as it does look unprofessional. If you are going to remove it I would also suggest making a donation to Phoca Gallery as I have. This method shows how to remove the copyright from the 2.7.6 version of Phoca Gallery.
Youll need to install Phoca Gallery and navigate to your website folders via FTP...
1. Open the file administrator\components\com_phocagallery\front\views\category\view.html.php
Search for the long string around line 165 that begins with


$tmpl['lm'] = '<'.'d'.'i'.'v'.' '.'s'.'t'.'y'.'l'.'e'.'='.'"'.'t'.'e'.'x'.'t'., etc
Delete the long string so it looks like
$tmpl['lm'] = '';


2. Open administrator\components\com_phocagallery\front\views\categories\view.html.php
Around line 261 youll see $tmpl['phoac'] = '
, blah<="" blah="" strong="">
Delete the html/Div so it looks like

$tmpl['phoac'] = '';


3. Open administrator\components\com_phocagallery\libraries\phocagallery\render\renderfront.php
Search for the getDivs() function around line 1371 and delete all of the html/Div in the return underneath changing it to
return '';


4. Open components\com_phocagallery\views\category\view.html.php
Find the long string of letters around line 165 $tmpl['lm'] = '<'.'d'.'i'.'v'.' '.'s'.'t'.'y'.'
Delete the long string changing it to
$tmpl['lm'] = ''; version = 2.7.8  =>  $tmpl['s'] =



5. Open components\com_phocagallery\views\categories\view.html.php
Around line 261 youll see $tmpl['phoac'] = '



Delete the html/Div changing it to
$tmpl['phoac'] = '';

Thats it all copyrights should now be gone.

2 comments:

  1. It is not my first time to visit this web page, i am visiting this site dailly and get fastidious facts from here all the time.


    Feel free to surf to my blog post Read This

    ReplyDelete