Disable/Delete/Remove "Powered by" at Phoca Gallery 3.2.1

Disable/Delete/Remove "Powered by" at Phoca Gallery 3.2.1

Postby daliose » Fri Aug 24, 2012 4:01 pm

It seems that each Phoca gallery version just has it own way to show the "Powered by" slogan.
Here is the way to remove it at version 3.2.1.
URL: http://www.phoca.cz
Component: Phoca Gallery
Version 3.2.1

Go to /components/com_phocagallery/views/category/view.html.php
comment out line 322

Code: Select all
$this->tmpl['dsf'] = '<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>';


Underneath of it just paste the line:

Code: Select all
$this->tmpl['dsf'] = '';



Then go to /administrator/components/com_phocagallery/libraries/phocagallery/render/renderfront.php

At line 681 comment out the following:

Code: Select all
 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>';*/


and underneath write:

Code: Select all
return '';


At last go to /administrator/components/com_phocagallery/libraries/phocagallery/utils/utils.php

In line 118 comment out this:

Code: Select all
echo '<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>';



That's it!
daliose
Site Admin
 
Posts: 228
Joined: Thu Jun 24, 2010 2:09 pm

Return to Other

Who is online

Users browsing this forum: No registered users and 1 guest

cron