Bonjour,
J’essais de placer le menu de mon forum (liens externes) au même endroit que le menu de mon portail, soit entre ma bannière et mon forum.
J’ai écrit mon menu juste dans mon fichier index.template.php, juste avant mon id="headerarea". Qu’est ce que je dois ajouter à me <div id="menuv"> pour que ça fonctionne? Voici mon code.
Merci pour votre aide
Modifié par Mireldar (15 Nov 2007 - 15:15)
J’essais de placer le menu de mon forum (liens externes) au même endroit que le menu de mon portail, soit entre ma bannière et mon forum.
J’ai écrit mon menu juste dans mon fichier index.template.php, juste avant mon id="headerarea". Qu’est ce que je dois ajouter à me <div id="menuv"> pour que ça fonctionne? Voici mon code.
<body>';
//<div style="text-align: center;" ><a href="http://www.sffq.org"><img src="http://www.sffq.org/public_html/forum/Themes/SFFQ_Black/images/head.jpg" border="0" align="center" width="732" height="131" background-color="000000"></a></div>';
// Because of the way width/padding are calculated, we have to tell Internet Explorer 4 and 5 that the content should be 100% wide. (or else it will assume about 108%!)
echo '
<div id="menuv">
<ul id="navigation">
<li><a href="http://sffq.org/" title="SFFQ.org">SFFQ.org</a></li>
<li><a href="http://sffq.org/entrevues/" title="Entrevues">Entrevues</a></li>
<li><a href="http://sffq.org/baladodiffuseur/" title="Baladodiffuseur">Baladodiffuseur</a></li>
<li><a href="http://sffq.org/dossiers/" title="Dossiers">Dossiers</a></li>
<li><a href="http://www.sffq.org/forum/index.php?action=calendar" title="Calendrier">Calendrier</a></li>
<li><a href="http://sffq.org/prix/" title="Prix">Prix</a></li>
<li><a href="http://sffq.org/jeunesse/" title="Coin jeunesse">Coin jeunesse</a></li>
<li><a href="http://sffq.org/participants/" title="Membres">Membres</a></li> </ul>
</div>
<div id="headerarea" style="padding: 12px 20px 4px 20px;', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width: 100%;' : '', '">';
// This part is the logo and forum name. You should be able to change this to whatever you want...
//echo '
echo '
<table cellspacing="0" cellpadding="0" border="0" width="100%" style="position: relative;">
<tr>
<td colspan="2" valign="bottom" style="padding: 5px; white-space: nowrap;">';
// This part is the logo and forum name. You should be able to change this to whatever you want...
//echo '
echo '
</td>
</tr>
<tr id="upshrinkHeader"', empty($options['collapse_header']) ? '' : ' style="display: none;"', '>
<td valign="top">
<div class="headertitles" style="margin-right: 5px; position: relative;"><img src="', $settings['images_url'], '/blank.gif" height="12" alt="" /></div>
<div class="headerbodies" style="position: relative; margin-right: 5px; background-image: url(', $settings['images_url'], '/backgroung.gif);">
<table width="99%" cellpadding="0" cellspacing="5" border="0"><tr>';
if (!empty($context['user']['avatar']))
echo '<td valign="middle">', $context['user']['avatar']['image'], '</td>';
echo '<td valign="top" class="smalltext" style="width: 100%; font-family: verdana, arial, sans-serif;">';
// If the user is logged in, display stuff like their name, new messages, etc.
if ($context['user']['is_logged'])
{
echo '
Merci pour votre aide

Modifié par Mireldar (15 Nov 2007 - 15:15)