powered-by-phoca-galleryOn all Phoca Gallery pages in Joomla 2.5 is a link that reads, Powered By Phoca Gallery. When using free and open source software, it's general courtesy to link back to the people who have built the software you're using. There may be times however that you want to remove those links added by the developers. In this tutorial, we'll walk you through the steps for removing the Powered By Phoca Gallery links in your Joomla 2.5 photo gallery.

How to delete Powered By Phoca Gallery in Joomla 2.5:

  1. Open for edit this file:
    administrator/components/com_phocagallery/libraries/phocagallery/render/renderfront.php

    Around line 680, you should see the following:
    function renderInfo() {
            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>';
    }

    Replace the above code with the following:

    function renderInfo() {
            return;
            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>';
    }
  2. There is another file you need to edit:
    components/com_phocagallery/views/category/view.html.php

    Around line 663, find the following code:
    $this->tmpl['mac'] = '<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>';

    Replace the above code with the following:

    $this->tmpl['mac'] = '';
    // $this->tmpl['mac'] = '<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>';
  3. One more file to edit is:
    administrator/components/com_phocagallery/libraries/phocagallery/utils/utils.php

    Around line 118, find the following code:
    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>';

    Replace the above code with the following:

    // 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>';
Like this Article?

Login to comment.

Your Opinion Matters

... but we need to know what you're thinking!

I'm Brad Markle, your friendly Community Support technician, and I wrote the article you're looking at now. I like to think it's perfect, but I'm sure you have some suggestions. Please, let me know what they are!

Feedback
Your Email Address
Because we'd like to talk with you!

Latest Questions

If you need some help, submit your question to our Community!
We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)
Ask a Question!
Recent Questions
  1. calculation
  2. Domain not pointing to my inmotion hosting
  3. How do I transfer my domain from inmotion to a different domain service?

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!