Ho cercato tra le vecchie discussioni sull argomento e ho cercato di seguire le varie instruzioni.
ho caricato il file swf dentro la root del sito.
ho modificato il template css, commentando dentro header backgroundimage in modo che non si visualizzi piu l immagine che c era prima.
poi ho inserito questo codice dentro l index.php del template, ma ancora vedo un quadrato bianco. Ma non riesco a trovare l errore!!!
<?php
defined( '_JEXEC' ) or die( 'Restricted access' );
JPlugin::loadLanguage( 'tpl_SG1' );
define( 'path', dirname(__FILE__) );
?>
<!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; ?>" >
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/template.css" type="text/css" />
</head>
<body id="page_bg">
<div id="top">
<div id="top_bg">
[b]
<div id="header">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
width="960" height="230" >
<param name="header" value="joomla/logo.swf">
<param name="quality" value="high">
<embed src="joomla/logo.swf" quality="high" width="960" height="230"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</embed>
</object>[/b]
<div class="logo"><h1><a href="index.php"></a></h1></div>
<div class="newsflash<?php if(!$this->countModules('user1') and JRequest::getCmd('layout') != 'form') : ?> only<?php endif; ?>">
<jdoc:include type="modules" style="rounded" name="top" />
</div>
<div id="pillmenu"><jdoc:include type="modules" name="user3" /></div>
<div id="search"><jdoc:include type="modules" name="user4" /></div>
</div>
<div id="content">
<?php if($this->countModules('left') and JRequest::getCmd('layout') != 'form') : ?>
<div id="leftcolumn">
<jdoc:include type="modules" name="left" style="rounded" />
<br />
<?php $sg = 'banner'; include "templates.php"; ?>
<br />
</div>
<?php endif; ?>
<?php if($this->countModules('left') and $this->countModules('right') and