Joomla.it Forum

Joomla! 1.5.x (versione con supporto terminato) => Joomla! 1.5 => I Template di Joomla 1.5.x => : billa18 05 Mar 2012, 11:17:34

: Problema con il template tx_gravity
: billa18 05 Mar 2012, 11:17:34
Ciao a tutti
ho installato il template in oggetto, ed inserito una voce di menų di invio articolo.
Bene : entro nella pagina di invio articolo, scrivo il testo, ma appena clicco su "immagine" per inserire una foto mi compare questo errore :
 
<link rel="stylesheet" href="
Notice: Undefined variable: tmplTools in C:\Programmi\EasyPHP 2.0b1\www\xxxx\templates\tx_gravity\component.php on line 22
Fatal error: Call to a member function templateurl() on a non-object in C:\Programmi\EasyPHP 2.0b1\www\xxxx\templates\tx_gravity\component.php on line 22
 
Cosė completo mi compare in locale. Ho fatto la stessa prova in remoto, ed il messaggio č dimezzato :
 
<link rel="stylesheet" href="
Fatal error: Call to a member function templateurl() on a non-object in /workdisk/home/web/xxxxx/xxxxx/htdocs/xxxx/templates/tx_gravity/component.php on line 22
 
(le xxxx le ho messe io per "oscurare" il nome del cliente).
Qualcuno sa aiutarmi?
Grazie mille
 
Se puō esservi d'aiuto vi riporto integralmente il contenuto del file component.php :
 
<?php
/**
 * @package   ZOE Template Framework by ThemExpert
 * @version   2.5.0 June 01, 2010
 * @author    ThemExpert http://www.themexpert.com (http://www.themexpert.com)
 * @copyright Copyright (C) 2009 - 2010 ThemExpert LLC
 * @license   http://www.gnu.org/licenses/gpl-2.0.html (http://www.gnu.org/licenses/gpl-2.0.html) GNU/GPLv2 only
 *
 * This Framework uses the Joomla Framework (http://www.joomla.org (http://www.joomla.org)), a GNU/GPLv2 content management system
 *
 */
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd (http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd)">
<html xmlns="http://www.w3.org/1999/xhtml (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" />
<link rel="stylesheet" href="<?php echo $tmplTools->templateurl(); ?>/css/addons.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $tmplTools->templateurl(); ?>/css/template.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $tmplTools->templateurl(); ?>/css/print.css" type="text/css" />
</head>
<body class="contentpane">
<div class="column">
 <jdoc:include type="message" />
 <jdoc:include type="component" />
</div>
</body>
</html>