Page 44 of 547

Posted: Sun Nov 30, 2008 2:53 pm
by SetoTK
crc32()

Posted: Mon Dec 01, 2008 12:17 am
by froggyboy604
Ranking Toolbox 6

Posted: Mon Dec 01, 2008 12:33 am
by Resurgence
CChooch

Posted: Mon Dec 01, 2008 1:41 am
by froggyboy604
23964

Posted: Tue Dec 02, 2008 2:18 am
by Resurgence
*****@softhome.net


// Please stop posting e-mails --SetoTK

Posted: Tue Dec 02, 2008 5:37 am
by froggyboy604
I just remove some scripts froom my Joomla site by adding a few lines to my Joomla default template index.php file.

I added these lines.

//remove mootools.js and caption.js
$headerstuff=$this->getHeadData();
reset($headerstuff['scripts']);
foreach($headerstuff['scripts'] as $key=>$value){
unset($headerstuff['scripts'][$key]);
}
$this->setHeadData($headerstuff);


It looks like this in my template index.php file.

<?php
//remove mootools.js and caption.js
$headerstuff=$this->getHeadData();
reset($headerstuff['scripts']);
foreach($headerstuff['scripts'] as $key=>$value){
unset($headerstuff['scripts'][$key]);
}
$this->setHeadData($headerstuff);

defined( '_JEXEC' ) or die( 'Restricted access' );
JPlugin::loadLanguage( 'tpl_SG1' );
?>

Now my page loads in 3-4 seconds instead of 6 seconds.

I learned how to remove from Joomla mootools.js and caption.js from Joomla1.5 at : http://www.eboga.org/cms/joomla/how-to- ... mla15.html

Posted: Tue Dec 02, 2008 7:52 am
by Resurgence