Chiedo gentilmente una guida SEMPLICE e facilmente comprensibile per inserire un filmato flash .swf al posto dell'immagine jpg di un header. In altri post ho letto che bisogna inserire qs codice html in un punto a scelta nell'index del template, ma così non funziona. <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
width="978" height="80">
<param name="width" value="978" />
<param name="height" value="80" />
<param name="src" value="templates/nometemplate/images/logo.swf" />
<param name="quality" value="high" />
<embed type="application/x-shockwave-flash" width="978" height="80"
src="/templates/nometemplate/images/logo.swf" quality="high">
</embed>
</object>
Dove bisogna inserirlo esattamente dopo averlo settato con i parametri esatti ? bisogna intervenire anche sul css ed eliminare l'immagine dell'header nella cartella images del templates ? in quale cartella esatta va inserito il file in flash ?Ecco il codice del template così mi potete dire cosa eliminare e dove mettere il codice sopra citato
<?php
defined( '_JEXEC' ) or die( 'Restricted access' );
JPlugin::loadLanguage( 'tpl_SG1' );
?>
<!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="wrapper">
<div id="header">
<div id="search"><jdoc:include type="modules" name="user4" /><>
<div id="pillmenu"><jdoc:include type="modules" name="user3" /><>
<div class="clr"><>
<div class="logo">
<table cellpadding="0" cellspacing="0">
<tr>
<td>
<h1><a href="index.php"><?php echo $mainframe->getCfg('sitename') ;?></h1>
</td>
</tr>
</table>
<>
<div class="clr"><>
<>
<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 id="content">
<div class="content_m">
<div class="content_t">
<?php if($this->countModules('left') and JRequest::getCmd('layout') != 'form') : ?>
<div id="leftcolumn">
<jdoc:include type="modules" name="left" style="rounded" />
<?php $sg = 'banner'; include "templates.php"; ?>
<>
<?php endif; ?>
<?php if($this->countModules('left') and $this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
<div id="maincolumn">
<?php elseif($this->countModules('left') and !$this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
<div id="maincolumn_left">
<?php elseif(!$this->countModules('left') and $this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
<div id="maincolumn_right">
<?php else: ?>
<div id="maincolumn_full">
<?php endif; ?>
<div class="nopad">
<jdoc:include type="message" />
<?php if($this->params->get('showComponent')) : ?>
<jdoc:include type="component" />
<?php endif; ?>
<>
<>
<?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
<div id="rightcolumn">
<jdoc:include type="modules" name="right" style="rounded" />
<>
<?php endif; ?>
<div class="clr"><>
<>
<>
<>
<>
<div id="footer">
<div id="sgf">
<p>
<jdoc:include type="modules" name="debug" />
<?php $sg = ''; include "templates.php"; ?>
valid xhtml
valid css
</p>
<>
<>
</body>
</html>Ringrazio anticipatamente