Salut,
Merci pour les infos, en fait voici la solution que j'ai adopté:
Dans mon montheme/fonction.php
$part[] = array("{BANDEAU}", theme_get_bandeau());
/**
* Bandeau d'accueil
*/
function theme_get_bandeau()
{
include(PMX_BLOCKS_DIR . '/block-itvscroller-News.php');
$block_bandeau = $content;
$out = '';
if ((isset($GLOBALS['home']))&&($GLOBALS['home']!=0)) {
$out .= '
<div id="bandeau">
' . $block_bandeau . '
</div>
';
} else {
$out .= '';
}
return $out;
}
Dans montheme/theme.html
<!-- START: BANDEAU BLOCK -->
{BANDEAU}
<!-- END: BANDEAU BLOCK -->
@+ Petit Jo