Grazie Caps,
non fa niente. Se invece ometto la riga dell'iterazione e dell'end funziona ma lo fa anche su tutte altre le pagine.
L'ho inserito in questo punto (con 10" x prova):
...omissis...
<?php
JHTML::_('behavior.mootools');
$app = JFactory::getApplication();
$templateparams = $app->getTemplate(true)->params;
$editor=false;
if(JRequest::getVar('option','')=='com_content'&&JRequest::getVar('layout','')=='edit')$editor=true;
if(JRequest::getVar('option','')=='com_weblinks'&&JRequest::getVar('layout','')=='edit')$editor=true;
?>
<?php if(JRequest::getVar('view') == "frontpage" ) : ?>
header('refresh:10');
<?php endif; ?> <jdoc:include type="head" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template;?>/css/template.css" type="text/css" />
...omissis...
Il sito è
www.cpsandomenico.itAdesso è ripristinato l'originale.
Grazie cmq.
Maman