How to Remove Powered by Phoca Download in Joomla 3 or 2.5

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active
 

Caution: BACKUP! BACKUP! BACKUP! before proceeding. Always backup you site beofre making any hacks. Always respect the copyright and see if you can leave the credits of the developer since they have provided component / module to you for free.

Note: The default code editor of your host may some times hide the code. Use your system's default notepad or Notepad++ to edit the files menioned in this article.

You will need to edit two files and make a minor change to remove "Powered by Phoca Download" link from your Joomla site. Go to the file system of your Joomla insallation.

  • Edit the "renderfront.php" file from the following location:

/ administrator / components / com_phocadownload / libraries / phocadownload / render /

Locate the following block of code [should be around line 41]:

	public static function renderPhocaDownload() {
			return '<div sty'.'le="t'.'ext-al'.'ign:ri'.'ght;">Po'
			.'wered by <a href="/ht'.'tp://www.pho'
			.'ca.cz/phocad'.'ownload" targe'
			.'t="_bla'.'nk" title="Pho'.'ca Dow'
			.'nload">Phoca Down'.'load</a></div>';
			}

 Now replace the code with the following and save the file:

	public static function renderPhocaDownload() {
			/* 
                        return '<div sty'.'le="t'.'ext-al'.'ign:ri'.'ght;">Po'
			.'wered by <a href="/ht'.'tp://www.pho'
			.'ca.cz/phocad'.'ownload" targe'
			.'t="_bla'.'nk" title="Pho'.'ca Dow'
			.'nload">Phoca Down'.'load</a></div>';
			*/
	}
  •  Edit "utils.php" file from the following location:

/ administrator / components / com_phocadownload / libraries / phocadownload / utils /

Locate the following block of code [should be around line 12]

public static function footer() {		
                 echo '<div>Powe'.'red b'.'y <a href="/ht'.'tp://www.pho'.'ca.c'.'z/pho'
		.'cado'.'wn'.'load" tar'.'get="_bl'.'ank" title="Pho'.'ca Down' .'load">Pho'
		.'ca Downl'.'oad</a></div>';
	}

  Now replace the code with he following and save the file 

 public static function footer() {
		/* echo '<div>Powe'.'red b'.'y <a href="/ht'.'tp://www.pho'.'ca.c'.'z/pho'
		.'cado'.'wn'.'load" tar'.'get="_bl'.'ank" title="Pho'.'ca Down' .'load">Pho'
		.'ca Downl'.'oad</a></div>'; */
	}

You shall be all set now, go ahead and test your site's front end.

Did you Find it helpful?, drop a line and share it forward to help others. Have a nice day.

About the Author
Syed Hussaini
Author: Syed HussainiEmail: This email address is being protected from spambots. You need JavaScript enabled to view it.
Web Developer & Consultant
Brief Bio
With over 12+ Years of experience, he holds a great knowledge of variety of applications and business practices besides Web Analytics, Web Development on CMS & Web Technologies, eLearning Solutions such as Adobe Captivate and Camtasia.