Joomla.it Forum
Joomla! 1.5.x (versione con supporto terminato) => Joomla! 1.5 => : Noise Comunica 06 Nov 2010, 11:03:54
-
Cari amici,
ho un problema con un template. Ho una slide centrale dove ho settato l'autoplay. Vado sull'homepage, la slide parte e si blocca al secondo articolo. Ho provato a vedere quale potesse essere il problema e ho scoperto che c'č il file mootools richiamato dal percorso /media/system/js che mi blocaa questa slide. Provo ad eliminare dall'index.php il file mootools e mi accade questo: in firefoox, chrome e safari funziona....ma in IE va in stack overflow.
<?php
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
// Include PHP files to the template
include_once(JPATH_ROOT . "/templates/" . $this->template . '/icetools/default.php');
include_once(JPATH_ROOT . "/templates/" . $this->template . '/icetools/switcher.php');
// Remove this files from the head of the template
unset($this->_scripts[$this->baseurl . '/media/system/js/mootools.js']);
unset($this->_scripts[$this->baseurl . '/media/system/js/caption.js']);
// Add this files on the head of the template
if($gzip == "true") :
$this->_scripts = array_merge(array($template_baseurl . '/js/javascript.php' => 'text/javascript'), $this->_scripts);
else:
$this->_scripts = array_merge(array($template_baseurl . '/js/ice-menu.js' => 'text/javascript'), $this->_scripts);
$this->_scripts = array_merge(array($template_baseurl . '/js/mootools-compat-core.js' => 'text/javascript'), $this->_scripts);
$this->_scripts = array_merge(array($template_baseurl . '/js/mootools-1.2-more.js' => 'text/javascript'), $this->_scripts);
$this->_scripts = array_merge(array($template_baseurl . '/js/mootools-1.2.1-core-nc.js' => 'text/javascript'), $this->_scripts);
endif;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" >
<head>
<jdoc:include type="head" />
Come potrei risolvere?
www.creativecut.it/tvi3
-
Ciao,
io ho il tuo stesso identico problema, ho provato ad eliminare quella parte di codice e non ottengo pių l'errore, ma mi si presentano una serie di problemi nell'animazione dei menų.
Tu sei riuscito a risolvere?