Ver Mensaje Individual
  #7 (permalink)  
Antiguo 08/02/2010, 13:07
Avatar de scout_vlc
scout_vlc
 
Fecha de Ingreso: julio-2007
Ubicación: Valencia
Mensajes: 141
Antigüedad: 16 años, 9 meses
Puntos: 0
Respuesta: Problema con abnner flash

:(

Funciona cuando pruebo en una página PHP sin más.
Pero cuando lo añado en el index.php de mi template, no sale nada.....
Código HTML:
<?php echo '<?xml version="1.0" encoding="utf-8"?'.'>'; ?>
<!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>
	<meta content="es" http-equiv="Content-Language">
	<jdoc:include type="head" />
	<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/nueva_web/css/template.css" type="text/css" />
	<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/nueva_web/css/position.css" type="text/css" media="screen,projection" />
	<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/nueva_web/css/layout.css" type="text/css" media="screen,projection" />
	<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/nueva_web/css/print.css" type="text/css" media="Print" />
	<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/nueva_web/css/general.css" type="text/css" />
	<?php if($this->direction == 'rtl') : ?>
	<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/nueva_web/css/template_rtl.css" type="text/css" /> 
Código HTML:
<script type="text/javascript" src="<?php echo $this->baseurl ?>AC_RunActiveContent.js"></script>

	
	
</head>
<body>
	<div id="all" class="style3">
		<div id="header">
			<h1 id="logo" class="style1">
		<div id="ja-header" class="wrap">
<div class="main clearfix">

<script type="text/javascript">
AC_FL_RunContent( "codebase","http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0","width","960","height","116","title","header","src","images/header","quality","high","pluginspage","http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash","movie","images/header" ); //end AC code
</script>
<noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="960" height="116" title="header">
<param name="movie" value="images/header.swf">
<param name="quality" value="high">
<embed src="images/header.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="960" height="116"></embed>
</object></noscript>

</div>
</div>
//continua la plantilla
En el navegador no sale nada, ni siquiera un recuadro de ese tamaño en blanco, ni el logo para descargar el Flash,....nada!
¿Por qué en una página que sólo contiene esto sí funciona?
Código PHP:
<?php
echo'<!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">

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Sin título 2</title>
    <script language="javascript" type="text/javascript" src="AC_RunActiveContent.js"></script>

</head>

<body>
        <div id="ja-header" class="wrap">
<div class="main clearfix">

<script type="text/javascript">
AC_FL_RunContent( "codebase","http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0","width","960","height","116","title","header","src","images/header","quality","high","pluginspage","http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash","movie","images/header" ); //end AC code
</script>
<noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="960" height="116" title="header">
<param name="movie" value="images/header.swf">
<param name="quality" value="high">
<embed src="images/header.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="960" height="116"></embed>
</object></noscript>

</div>
</div>

</body>

</html>
'
;

?>
Esto si funciona correctamente..... y no entiendo como al llevarlo al index.php del template no funciona!!!!