pb menu

Salut,

  j'ai un pb avec mes menus : à l'aide de bidouilles, je 'lai mis à gauche, mais ça résoud pas qq chose : à chaque fois qu'on change de page, l'ordre
des menus change. Comment stabiliser tout cela ?...
  
  Ben.

--------------------------------
Benoit Véler - MultiGéo
8, rue Ampère - 38 000 Grenoble
04-76-48-60-22 / 06-99-64-02-91
http://www.multigeo.com
http://www.georama.net
--------------------------------

A 14:26 21/03/2003, =?windows-1252?Q?Benoit=20V=E9ler?= a écrit :

Salut,

Salut,

        j'ai un pb avec mes menus : à l'aide de bidouilles, je 'lai mis à gauche, mais ça résoud pas qq chose : à chaque fois qu'on change de page, l'ordre
des menus change. Comment stabiliser tout cela ?...

Tu peux être un peu plus précis ?

                Ben.

Stef

Peux-tu nous fournir le code spip de ce fameux menu ?

Sinon c'est probablement parce que tu n'as pas mis de condition d'ordre (par
date, etc...)

Benoit

-----Message d'origine-----
De : spip-bounces@rezo.net [mailto:spip-bounces@rezo.net] De
la part de Benoit Véler
Envoyé : vendredi 21 mars 2003 14:26
À : spip@rezo.net
Objet : [Spip] pb menu

Salut,

j'ai un pb avec mes menus : à l'aide de bidouilles, je
'lai mis à gauche, mais ça résoud pas qq chose : à chaque
fois qu'on change de page, l'ordre
des menus change. Comment stabiliser tout cela ?...

Ben.

Salut,

  le pb se trouve dans le site Géorama.net. En naviguant vous verrez que les menus changent d'ordre avec le changement de page...

  Voici le code :

<TABLE WIDTH=750 CELLPADDING=26 CELLSPACING=0 BORDER=0>
<TR>

  <td valign="top">
    <table valign="top" CELLPADDING=0>
  <BOUCLE_hier1(HIERARCHIE){0,1}{doublons}>
    
    <A HREF="#URL_RUBRIQUE"><B><FONT FACE="arial,helvetica,sans-serif" align="left" SIZE=2>#TITRE</FONT></B></A><P>
    
    <BOUCLE_rub_hier(RUBRIQUES){meme_parent}{exclus}{par hasard}{0,4}>
    
    <A HREF="#URL_RUBRIQUE"><B><FONT FACE="arial,helvetica,sans-serif" align="left" SIZE=2>#TITRE</FONT></B></A><P>
    
    </BOUCLE_rub_hier>
  </BOUCLE_hier1>
    
    </TD>
    <TD COLSPAN=4></TD>
  <//B_hier1>
  
<BOUCLE_hier2(HIERARCHIE){1,100}{doublons}>

  <A HREF="#URL_RUBRIQUE"><B><FONT FACE="arial,helvetica,sans-serif" align="left" SIZE=2>#TITRE</FONT></B></A><P>

  <BOUCLE_rub_hier2(RUBRIQUES){meme_parent}{exclus}{par hasard}{0,4}>

  <A HREF="#URL_RUBRIQUE"><B><FONT FACE="arial,helvetica,sans-serif" align="left" SIZE=2>#TITRE</FONT></B></A><P>

  </BOUCLE_rub_hier2>
  
</BOUCLE_hier2>
<BOUCLE_rubrique(RUBRIQUES){id_rubrique}>

  <BOUCLE_rub_hier3(RUBRIQUES){meme_parent}{exclus}{doublons}{par hasard}{0,1}>
  <A HREF="#URL_RUBRIQUE"><B><FONT FACE="arial,helvetica,sans-serif" align="left" SIZE=2>#TITRE</FONT></B></A><P>
  </BOUCLE_rub_hier3><//B_rub_hier3>

  <A HREF="#URL_RUBRIQUE"><B><FONT FACE="arial,helvetica,sans-serif" align="left" SIZE=2>#TITRE</FONT></B></A><P>

  <BOUCLE_rub_hier4(RUBRIQUES){meme_parent}{exclus}{doublons}{par hasard}{0,4}>

  <A HREF="#URL_RUBRIQUE"><B><FONT FACE="arial,helvetica,sans-serif" align="left" SIZE=2>#TITRE</FONT></B></A><P>

  </BOUCLE_rub_hier4>

</BOUCLE_rubrique>

</TABLE>

Peux-tu nous fournir le code spip de ce fameux menu ?

Sinon c'est probablement parce que tu n'as pas mis de condition d'ordre (par
date, etc...)

Benoit

-----Message d'origine-----
De : spip-bounces@rezo.net [mailto:spip-bounces@rezo.net] De
la part de Benoit Véler
Envoyé : vendredi 21 mars 2003 14:26
À : spip@rezo.net
Objet : [Spip] pb menu

Salut,

j'ai un pb avec mes menus : Ã l'aide de bidouilles, je
'lai mis à gauche, mais ça résoud pas qq chose : à chaque
fois qu'on change de page, l'ordre
des menus change. Comment stabiliser tout cela ?...

Ben.

--------------------------------
Benoit Véler - MultiGéo
8, rue Ampère - 38 000 Grenoble
04-76-48-60-22 / 06-99-64-02-91
http://www.multigeo.com

--------------------------------

A 14:46 21/03/2003, vous avez écrit :

Salut,

        le pb se trouve dans le site Géorama.net. En naviguant vous verrez que les menus changent d'ordre avec le changement de page...

J'avais un souci un peu similaire et je m'en suis sorti en bricolant un truc avec des bout de php que j'avais chopé à droite ou à gauche dans des tutoriaux.
Au cas ou ca puisse te servir, je te le met en pièce jointe. Bon, ca fait surement un peu usine à gaz pour ton pb mais on sait jamais...

A+
Stef

menu.txt (2.13 KB)

Le 21/03/03 14:46, « Benoit Véler » <benoit.veler@multigeo.com> a écrit :

<BOUCLE_rub_hier(RUBRIQUES){meme_parent}{exclus}{par hasard}{0,4}>

Ça t'étonnes vraiment ce changement aléatoire? :wink:

--
Dr Philippe Auriol, allergologue
http://www.allergique.org/ Le Monde des Allergies
http://www.weballergies.com/ L'allergie en fiches
http://chercher.weballergies.com/ Chercher l'allergie sur le net

Hum d'accord, mais ton menu, c'est quelle boucle ?

Benoit

Voici le code :

<TABLE WIDTH=750 CELLPADDING=26 CELLSPACING=0 BORDER=0>
<TR>

<td valign="top">
  <table valign="top" CELLPADDING=0>
<BOUCLE_hier1(HIERARCHIE){0,1}{doublons}>
  
  <A HREF="#URL_RUBRIQUE"><B><FONT
FACE="arial,helvetica,sans-serif" align="left"
SIZE=2>#TITRE</FONT></B></A><P>
  
<BOUCLE_rub_hier(RUBRIQUES){meme_parent}{exclus}{par hasard}{0,4}>
  
  <A HREF="#URL_RUBRIQUE"><B><FONT
FACE="arial,helvetica,sans-serif" align="left"
SIZE=2>#TITRE</FONT></B></A><P>
  
  </BOUCLE_rub_hier>
</BOUCLE_hier1>
  
  </TD>
  <TD COLSPAN=4></TD>
<//B_hier1>

<BOUCLE_hier2(HIERARCHIE){1,100}{doublons}>

<A HREF="#URL_RUBRIQUE"><B><FONT
FACE="arial,helvetica,sans-serif" align="left"
SIZE=2>#TITRE</FONT></B></A><P>

<BOUCLE_rub_hier2(RUBRIQUES){meme_parent}{exclus}{par
hasard}{0,4}>

<A HREF="#URL_RUBRIQUE"><B><FONT
FACE="arial,helvetica,sans-serif" align="left"
SIZE=2>#TITRE</FONT></B></A><P>

</BOUCLE_rub_hier2>

</BOUCLE_hier2>
<BOUCLE_rubrique(RUBRIQUES){id_rubrique}>

<BOUCLE_rub_hier3(RUBRIQUES){meme_parent}{exclus}{doublons}{par
hasard}{0,1}>
<A HREF="#URL_RUBRIQUE"><B><FONT
FACE="arial,helvetica,sans-serif" align="left"
SIZE=2>#TITRE</FONT></B></A><P>
</BOUCLE_rub_hier3><//B_rub_hier3>

<A HREF="#URL_RUBRIQUE"><B><FONT
FACE="arial,helvetica,sans-serif" align="left"
SIZE=2>#TITRE</FONT></B></A><P>

<BOUCLE_rub_hier4(RUBRIQUES){meme_parent}{exclus}{doublons}{par
hasard}{0,4}>

<A HREF="#URL_RUBRIQUE"><B><FONT
FACE="arial,helvetica,sans-serif" align="left"
SIZE=2>#TITRE</FONT></B></A><P>

</BOUCLE_rub_hier4>

</BOUCLE_rubrique>

</TABLE>