Scusa ma non riesco a capire la risposta, non utilizzo nulla di particolare, solo Joomla.
Scusa se ti faccio un piccolo WOT allegandoti parte dei 2 index.php
Quello in root è questo:
<?php
/**
- @version $Id: index.php 11407 2009-01-09 17:23:42Z willebil $
- @package Joomla
- @copyright Copyright (C) 2005 - 2009 Open Source Matters. All rights reserved.
- @license GNU/GPL, see LICENSE.php
- Joomla! is free software. This version may have been modified pursuant
- to the GNU General Public License, and as distributed it includes or
- is derivative of works licensed under the GNU General Public License or
- other free or open source software licenses.
- See COPYRIGHT.php for copyright notices and details.
*/
// Set flag that this is a parent file
define( '_JEXEC', 1 );
define('JPATH_BASE', dirname(FILE) );
define( 'DS', DIRECTORY_SEPARATOR );
require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' );
require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' );
JDEBUG ? $_PROFILER->mark( 'afterLoad' ) : null;
/**
- CREATE THE APPLICATION
- NOTE :
*/
$mainframe =& JFactory::getApplication('site');
/**
- INITIALISE THE APPLICATION
- NOTE :
*/
// set the language
$mainframe->initialise();
JPluginHelper::importPlugin('system');
// trigger the onAfterInitialise events
JDEBUG ? $_PROFILER->mark('afterInitialise') : null;
$mainframe->triggerEvent('onAfterInitialise');
/**
- ROUTE THE APPLICATION
- NOTE :
*/
$mainframe->route();
// authorization
$Itemid = JRequest::getInt( 'Itemid');
$mainframe->authorize($Itemid);
// trigger the onAfterRoute events
JDEBUG ? $_PROFILER->mark('afterRoute') : null;
$mainframe->triggerEvent('onAfterRoute');
/**
- DISPATCH THE APPLICATION
- NOTE :
*/
$option = JRequest::getCmd('option');
$mainframe->dispatch($option);
// trigger the onAfterDispatch events
JDEBUG ? $_PROFILER->mark('afterDispatch') : null;
$mainframe->triggerEvent('onAfterDispatch');
/**
- RENDER THE APPLICATION
- NOTE :
*/
$mainframe->render();
// trigger the onAfterRender events
JDEBUG ? $_PROFILER->mark('afterRender') : null;
$mainframe->triggerEvent('onAfterRender');
/**
- RETURN THE RESPONSE
*/
echo JResponse::toString($mainframe->getCfg('gzip'));
La parte dell'index.php che contiene il banner è questa:
<!-- BEGIN: HEADER -->
<div id="ja-headerwrap">
<div id="ja-header" class="clearfix" style="background: url(<?php echo $tmpTools->templateurl(); ?>/images/header/<?php echo $tmpTools->getRandomImage(dirname(FILE).DS.'images/header'); ?>) no-repeat top <?php if($this->direction == 'rtl') echo 'left'; else echo 'right';?>;">
<div class="ja-headermask"> </div>
<?php
$siteName = $tmpTools->sitename();
if ($tmpTools->getParam('logoType')=='image'): ?>
<center>
<h1 class="logo">
<object classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000
codebase=hPPT://download.macromedia.com/pub/shockwave/cabs/
flash/swflash.cab#version=5,0,2,0
width=900
height=120>
<param name=movie value=Silent.swf>
<param name=quality value=high>
<param name=BGCOLOR value=#2e2e2e>
<param name=SCALE value=noborder>
<embed src=Silent.swf
quality=high
pluginspage=VVV.macromedia.com/shockwave/download
/index.cgi?P1_Prod_Version=ShockwaveFlash type=application/x-shockwave-flash
width=900
height=120
bgcolor=#2e2e2e
scale= noborder>
</embed>
</object> </h1>
</center>
<?php else:
$logoText = (trim($tmpTools->getParam('logoText'))=='') ? $config->sitename : $tmpTools->getParam('logoText');
$sloganText = (trim($tmpTools->getParam('sloganText'))=='') ? JText::_('SITE SLOGAN') : $tmpTools->getParam('sloganText'); ?>
<h1 class="logo-text">
<a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $logoText; ?></span></a>
</h1>
<p class="site-slogan"><?php echo $sloganText;?></p>
<?php endif; ?>
<?php $tmpTools->genToolMenu(JA_TOOL_FONT, 'png'); ?>
<?php if($this->countModules('user4')) : ?>
<div id="ja-search">
<jdoc:include type="modules" name="user4" />
</div>
<?php endif; ?>
</div>
</div>
<!-- END: HEADER -->
Penso (e magari sbaglio) che il problema sia dovuto al fatto che la parte che contiene le "indicazioni" per flash sia nel secondo index.php e non in quello in root, che ne dici?