au risque de me faire passer pour un newbie de premiere classe (bien que j'en suis un ^^)
:riencompris
le fichier theme.html du theme xd-blue est :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="robots" content="<{$xoops_meta_robots}>">
<meta name="keywords" content="<{$xoops_meta_keywords}>">
<meta name="description" content="<{$xoops_meta_description}>">
<meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>">
<link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_url}>/xoops.css">
<link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_themecss}>">
<title><{$xoops_sitename}> - <{$xoops_pagetitle}></title>
<!-- RMV: added module header -->
<{$xoops_module_header}>
<script type="text/javascript">
<!--
<{$xoops_js}>
//-->
</script>
</head>
<body>
<div id="englobe">
<div id="header">
<a id="accueil" href="<{$xoops_url}>" ></A>
<a id="annuaire" href="<{$xoops_url}>/modules/mylinks/"></A>
<a id="forum" href="<{$xoops_url}>/modules/newbb/" ></A>
<a id="contact" href="<{$xoops_url}>/modules/contact/"></A></div>
<div id="contenu">
<div id="texte"><{if !$xoops_isuser}><div align="center"><form action="<{$xoops_url}>/user.php" method="post"><input type="hidden" name="xoops_redirect" value="<{$xoops_requesturi}>" /><input type="hidden" name="op" value="login" />Pseudo : <input class="formButton" type="text" name="uname" size="6" /> Passe : <input class="formButton" type="password" name="pass" size="7" /> <input class="formButton" type="submit" value="Go !" /> <a href="<{$xoops_url}>/register.php">Créer un compte</a></form></div><{/if}><{if $xoops_isuser}> <div align="center">Bienvenue <a href="<{$xoops_url}>/user.php"><b><{$xoops_uname}>:</b></a> <a href="<{$xoops_url}>/user.php">Votre compte</a> | <a href="<{$xoops_url}>/viewpmsg.php">Votre messagerie</a><{if $xoops_isadmin}> | <a href="<{$xoops_url}>/admin.php">Administration</a><{/if}> | <a href="<{$xoops_url}>/user.php?op=logout">Déconnexion</a></div><{/if}><br / >
<{foreach item=block from=$xoops_ccblocks}><{include file="xd_blue/menu-centre.html"}><{/foreach}><br / ><{$xoops_contents}>
<div align="center"><br /><br /><{$xoops_banner}><{$xoops_footer}><br /></div></div>
<div id="footer"><div style=" text-align: center;
padding: 30px 0px 0px 0px;font-size:10px;">Design par TRK pour
<a target="_blank" href="http://www.xopos-design.org/" style="color:#000">Xoops-Design</a>.</div></div>
</div>
</div>
</body>
</html>
j'ai regarder un autre theme et c'est totalement different.
Par exemple, le fichier theme.html du theme xd-rouge (qui lui propose une colonne gauche) :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="robots" content="<{$xoops_meta_robots}>">
<meta name="keywords" content="<{$xoops_meta_keywords}>">
<meta name="description" content="<{$xoops_meta_description}>">
<meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>">
<link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_url}>/xoops.css">
<link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_themecss}>">
<title><{$xoops_sitename}> - <{$xoops_pagetitle}></title>
<!-- RMV: added module header <{$xoops_themecss}>-->
<{$xoops_module_header}>
<script type="text/javascript">
<!--
<{$xoops_js}>
//-->
</script>
</head>
<body>
<div id="englobe">
<div id="header">
<div id="menu" style="position: absolute; left: 0px; top: 25px ;width: 100%; text-align: center"><{if !$xoops_isuser}><form action="<{$xoops_url}>/user.php" method="post"><input type="hidden" name="xoops_redirect" value="<{$xoops_requesturi}>" /><input type="hidden" name="op" value="login" />Pseudo : <input class="formButton" type="text" name="uname" size="6" /> Mot de passe : <input class="formButton" type="password" name="pass" size="7" />
<input class="formButton" type="submit" value="Connexion" /></form><{/if}><{if $xoops_isuser}>Bienvenue <a href="<{$xoops_url}>/user.php"><b><{$xoops_uname}>:</b></a> <a href="<{$xoops_url}>/user.php">Votre compte</a> | <a href="<{$xoops_url}>/viewpmsg.php">Votre messagerie</a><{if $xoops_isadmin}> | <a href="<{$xoops_url}>/admin.php">Administration</a><{/if}> | <a href="<{$xoops_url}>/user.php?op=logout">Déconnexion</a><{/if}></div> <div id="menu">
<div id="menu_img"><div id="menu_texte"><a target="_blank" href="http://www.xoops-design.org/">Lien</a></div></div>
<div id="menu_img"><div id="menu_texte"><a target="_blank" href="http://www.xoops-design.org/">Lien</a></div></div>
<div id="menu_img"><div id="menu_texte"><a target="_blank" href="http://www.xoops-design.org/">Lien</a></div></div>
<div id="menu_img"><div id="menu_texte"><a target="_blank" href="http://www.xoops-design.org/">Lien</a></div></div>
<div id="menu_img"><div id="menu_texte"><a target="_blank" href="http://www.xoops-design.org/">Lien</a></div></div>
</div></div>
<div id="contenu"><table cellpadding="0" cellspacing="0" width="715"><tr>
<td style="width:193px;">
<div style="margin-left: 5px; width: 185px; margin-right: 5px;">
<{foreach item=block from=$xoops_lblocks}>
<div style="margin-left: 4px;background: url('<{$xoops_url}>/themes/xd_rouge/menu.png') no-repeat; height:23px; width: 177px;"><div style="float: left; margin-top: 5px; margin-left:3px"><b><{$block.title}></b></div></div>
<br /><{$block.content}><br />
<{/foreach}></div></td><td><div style="margin-left: 10px; width: 510px; margin-right: 5px;"><{foreach item=block from=$xoops_ccblocks}><div style="margin-left: 4px;background: url('<{$xoops_url}>/themes/xd_rouge/menu.gif') no-repeat; height:23px; width: 510px;"><div style="float: left; margin-top: 5px; margin-left:3px"><b><{$block.title}></b></div></div>
<br /><{$block.content}><br /><{/foreach}>
<{if $xoops_showcblock == 1}>
<table style="width: 100%; height: auto"><tr>
<td style="width: 50%;">
<{foreach item=block from=$xoops_clblocks}>
<div style="margin-left: 4px;background: url('<{$xoops_url}>/themes/xd_rouge/menu3.gif') no-repeat; height:23px; width: 230px;"><div style="float: left; margin-top: 5px; margin-left:3px"><b><{$block.title}></b></div></div>
<br /><{$block.content}><br />
<{/foreach}>
</td><td style="width: 50%;">
<{foreach item=block from=$xoops_crblocks}>
<div style="margin-left: 4px;background: url('<{$xoops_url}>/themes/xd_rouge/menu3.gif') no-repeat; height:23px; width: 230px;"><div style="float: left; margin-top: 5px; margin-left:3px"><b><{$block.title}></b></div></div>
<br /><{$block.content}><br />
<{/foreach}>
</td>
</tr>
</table><{/if}><{$xoops_contents}></div></tr></table>
</div><div id="contenu" style="text-align: center"><br /><br /> Thème réalisé par TrK et Florian pour
<a target="_blank" href="http://www.xoops-design.org/">Xoops-Design</a>.</div>
</div>
</body>
</html>
Donc en gros :
- je ne sais pas ce que je dois rajouter
- je ne sais pas où je dois rajouter
Merci de votre aide et surtout de votre patience pour les newbie ^^