Results 1 to 5 of 5

Thread: Tinkering with "Powered By" with poor knowledge

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2010
    Location
    Far East
    Posts
    232

    Tinkering with "Powered By" with poor knowledge

    Hi gurus

    In a web page we may have some "Powered By" plus blablabla coming from using some extensions. Their size & wordings may not suit the overall design of things and we want to tinker with it.

    Using firebug we identify how the wording comes about because of my lack of web tools knowledge has to dig all over the sub Admin folder in a Joomla site to find it. So if guru can teach me how to use firebug to pin point it's location fast, it will be great to train my learning curve.


    The real question is how this:
    With the little knowledge i know, there is constraints in changing the string

    1st case (can change)
    $version ='<a style="display: inline; visibility: visible; font-size: 10px; text-decoration: none;">Powered by Access</a>';
    being use in
    $body = preg_replace($regexp, "$0&nbsp;&nbsp;" . $version, $body);



    HOWEVER this is not possible in some case especially when it involves a function
    2nd case (CANNOT change)
    function putLine()
    {
    $put_text = JText::_("PUTLINE_TEXT");
    $html = "<div style=\"text-align:center; font-size: 10px;\">" .
    htmlspecialchars($put_text) .
    "&nbsp;Powered By <a href=\"http://www.access.com\">Access Corp/a></div>";
    return $putLine;

    being use in
    if(!$mainframe->isAdmin() && $encryptConfig->get('showbacklink', 1))
    $body = str_replace("</body>", $this->putLine() . "</body>", $body);
    }
    JResponse::setBody($body);
    }


    The missing knowledge in my learning curve is:
    In the 2nd case, whatever i change it will not appear in the web page. In firebug if i make changes on it, it will appear in the web page for that moment.

    This lack of knowledge really bugs me and to fill this void is no longer easy in this complex word. Teach me please, thanks first.
    Last edited by FuzMic; May 8th, 2013 at 07:08 PM.

  2. #2
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    Re: Tinkering with "Powered By" with poor knowledge

    Am not sure whether I completely got the idea. But I think you want to remove or alter the copyright message shown at the bottom of the page.

    I have never used Joomla lately. So, don't know much about it. But try this: have a look at the templates folder and alter the footer html code of that template.


    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India


    Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    May 2010
    Location
    Far East
    Posts
    232

    Re: Tinkering with "Powered By" with poor knowledge

    Thanks akhileshbc. For Joomla relating to template this is true for which i have tinkered before. In fact i have been successful in tinkering with some other extensions which i play around.

    What I really want to use this "project" to understand more about the architecture of how the various .php, .htm (or more) are bind together to create is text display which is exposed in firefox/firebug. Thus my main purpose to improve my learning curve here.

  4. #4
    PowerPoster kfcSmitty's Avatar
    Join Date
    May 2005
    Posts
    2,248

    Re: Tinkering with "Powered By" with poor knowledge

    Joomla caches pages by default. Chances are the changes you're making aren't showing up because the page is still cached.

    You can clear the cache by following the steps here:

    http://help.joomla.org/content/view/1986/278/

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    May 2010
    Location
    Far East
    Posts
    232

    Re: Tinkering with "Powered By" with poor knowledge

    Smitty i don't think the cache is the issue because the change in the firebug WAS NEVER SAVED at all when you make changes.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width