How to Remove Powered by Phoca Download in Joomla 3 or 2 5

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

Posted by

Powered by Phoca Download appears under the Phoca Download extension of Joomla. Althgouh removing the credits “Powered by Phoca Download” is something we should avoid, we may sometimes consider cracking it down or good reasons. With the help f this article, you shall be able to remove the Powered by Phoca Download from your Joomla Phoca Download extension. Always respect the copyright and see if you can leave the credits of the developer since they have provided a component/module to you for free.

Very Important: Before you follow the resolution below, ensure to backup your site. One Click Backup for Joomla

Note: The default code editor of your host may sometimes hide the code. Use your system’s default notepad or Notepad++ to edit the files mentioned 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 installation.

  • 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:

 /* 
                      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 the 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. This has been tested on all Joomla 3.x.x versions and should work just fine and help you to remove Powered by Phoca Download from your Joomla site if you carefully follow all the steps. Did you Find How to Remove Powered by Phoca Download article helpful? drop a line and share it forward to help others. Have a nice day.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.