problem with mootools.js

Advanced newspaper or magazine Joomla template to build news website with unique and detailed design.
GK User
Mon Apr 11, 2011 3:57 pm
I received this error and some banner, flash or other non fuctions. what is the problem? and the solution?

Dettagli errore pagina Web

Agente utente: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.6; InfoPath.2; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Mon, 11 Apr 2011 16:55:48 UTC


Messaggio: 'invalid' non è definito
Linea: 1
Carattere: 1
Codice: 0
URI: http://www.clickpoint.it/db/loadsmart.c ... &AFF=57666


Messaggio: Non implementato

Linea: 94
Carattere: 4
Codice: 0
URI: http://www.xxxxxxxxxx.it/media/system/js/modal.js


Messaggio: Proprietà o metodo non supportati dall'oggetto
Linea: 59
Carattere: 102
Codice: 0
URI: http://www.xxxxxxxxxx.it/media/system/js/mootools.js
User avatar
Expert Boarder

GK User
Mon Apr 11, 2011 3:59 pm
I have found this comments:

For most Joomla 1.5 template, they don't use mootools.js and caption.js at all. These two javasript libiaries are mainly used in the adiminstrator control panal. Their size are about 75K, and decrease the response speed of Joomla site. Here I introduce a method to remove the two javascript libs.

To make sure your Joomla site have the two scripts in the front site, you can look you site's html source code and will find the following code:

<script type="text/javascript" src="/media/system/js/mootools.js"></script>
<script type="text/javascript" src="/media/system/js/caption.js"></script>

To remove the above javascript's import, you just need to add the following code at the top of your template's 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);
?>
User avatar
Expert Boarder

GK User
Mon Apr 11, 2011 6:11 pm
Please show us your website
Do you have gavick template installed?
We can't help you without seeing it.
User avatar
Platinum Boarder

GK User
Tue Apr 12, 2011 11:56 am
my web site url is: http://www.calciodonne.it
I have installed The news world template
User avatar
Expert Boarder


cron