|
05 October 2010
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'] = '<div, blah blah
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'] = '';
5. Open components\com_phocagallery\views\categories\view.html.php
Around line 261 youll see $tmpl['phoac'] = '<div blah blah
Delete the html/Div changing it to
$tmpl['phoac'] = '';
Thats it all copyrights should now be gone.
Update
If you don't want to go through all of this, download this zip file, extract to your computer then upload the 2 files to the root of your Joomla site.
Update - Version 2.8
Download this file - renderfront.zip
Extract and upload it to yoursite.com/administrator/components/com_phocagallery/libraries/phocagallery/render/renderfront.php
















Comments
i'm using Phocagallery 3.2.0
i want to remove the powerby but i dont have this path components/phocagallery/com_phocagaller y/views/category/view.html.php
If I change $this->tmpl['ldb'] = 'Powe' […] '';
at 265 (for me It was line 663) line to:
$this->tmpl['ldb'] = '';
I've an error message.
In file components/phocagallery/com_phocagaller y/views/category/view.html.php I had (line 663) :
$this->tmpl['mac'] = 'Powe'. 'red by Phoca Gall'. 'ery';
And I delete :
Powe'. 'red by Phoca Gall'. 'ery
Just let :
$this->tmpl['mac'] = '';
Thanks you very much ! it works !
in file administrator/com_phocagaller y/libraries/phocagallery/utils/utils.php
change function footer at line 181 to:
public function footer() {}
and also in file components/phocagallery/com_phocagaller y/views/category/view.html.php
change $this->tmpl['ldb'] = 'Powe' […] '';
at 265 line to:
$this->tmpl['ldb'] = '';
administratorco mponentscom_pho cadownloadhelpe rsphocadownload .php
Line 754 (open file in Dreamweaver)
replace function
function renderPhocaDown load() {
return 'Power'.'ed by Phoc'.'a Dow'.'nload';
}
with
function renderPhocaDown load() {
return '';
}
RSS feed for comments to this post.