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 " . $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) .
" 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. :( :eek2:
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.
:wave:
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.
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/
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.