Modifier la position du "Aller à la page :"

2 participants

Voir le sujet précédent Voir le sujet suivant Aller en bas

Résolu Modifier la position du "Aller à la page :"

Message par Alfea Sam 30 Aoû 2014 - 20:16

Bonsoir ^^

J'aimerais savoir s'il est possible de modifier la position du "Aller à la page : 1, 2" grâce à une modification dans un des templates ?
Sur mon forum, il est placé en dessous de la colonne "Derniers messages" et produit un petit espace vide comme ceci :
Spoiler:
Du coup, est-ce que c'est possible de le déplacer à côté du "Plus !" ?

Merci d'avance!


Dernière édition par Alfea le Dim 31 Aoû 2014 - 1:04, édité 1 fois
Alfea

Alfea
Nouveau membre

Messages : 16
Inscrit(e) le : 26/06/2014

http://eldarya-tfm.forumactif.org/
Alfea a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Modifier la position du "Aller à la page :"

Message par [Nihil] Sam 30 Aoû 2014 - 23:15

Alors ça se passe dans le topic topics_list_box

Tu as ceci
Code:
<tr>
    <th colspan="{topics_list_box.row.header_table.COLSPAN}" align="center" nowrap="nowrap">&nbsp;{topics_list_box.row.L_TITLE}&nbsp;</th>
    <th align="center" nowrap="nowrap" width="80">&nbsp;{topics_list_box.row.L_REPLIES}&nbsp;</th>
    <th align="center" nowrap="nowrap" width="100">&nbsp;{topics_list_box.row.L_AUTHOR}&nbsp;</th>
    <th align="center" nowrap="nowrap" width="50">&nbsp;{topics_list_box.row.L_VIEWS}&nbsp;</th>
    <th align="center" nowrap="nowrap" width="150">&nbsp;{topics_list_box.row.L_LASTPOST}&nbsp;</th>
    <!-- BEGIN multi_selection -->
    <th align="center" nowrap="nowrap" width="20"><input onclick="check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_list_box.row.header_table.BOX_ID}" value="0" /></th>
<!-- END multi_selection -->
</tr>
<!-- BEGIN pagination -->
<tr>
    <td class="row1" colspan="7" align="right"><span class="gensmall">{PAGINATION}</span></td>
</tr>
<!-- END pagination -->

La première ligne (balise tr) est pour l'entête (Affichage & Epinglé, Réponses, etc) et la deuxième ligne concerne la pagination Wink
Code:
<!-- BEGIN pagination -->
<tr>
    <td class="row1" colspan="7" align="right"><span class="gensmall">{PAGINATION}</span></td>
</tr>
<!-- END pagination -->

Tu peux par exemple inverser les 2 lignes et enlever la classe.
Code:
<!-- BEGIN pagination -->
<tr>
    <td class="row1" colspan="7" align="right"><span class="gensmall">{PAGINATION}</span></td>
</tr>
<!-- END pagination -->
<tr>
    <th colspan="{topics_list_box.row.header_table.COLSPAN}" align="center" nowrap="nowrap">&nbsp;{topics_list_box.row.L_TITLE}&nbsp;</th>
    <th align="center" nowrap="nowrap" width="80">&nbsp;{topics_list_box.row.L_REPLIES}&nbsp;</th>
    <th align="center" nowrap="nowrap" width="100">&nbsp;{topics_list_box.row.L_AUTHOR}&nbsp;</th>
    <th align="center" nowrap="nowrap" width="50">&nbsp;{topics_list_box.row.L_VIEWS}&nbsp;</th>
    <th align="center" nowrap="nowrap" width="150">&nbsp;{topics_list_box.row.L_LASTPOST}&nbsp;</th>
    <!-- BEGIN multi_selection -->
    <th align="center" nowrap="nowrap" width="20"><input onclick="check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_list_box.row.header_table.BOX_ID}" value="0" /></th>
<!-- END multi_selection -->
</tr>

Il te suffit de changer la place de la pagination où tu le souhaites dans le template Wink
[Nihil]

[Nihil]
Membre habitué

Messages : 1215
Inscrit(e) le : 10/12/2009

https://forum.forumactif.com
[Nihil] a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Modifier la position du "Aller à la page :"

Message par Alfea Dim 31 Aoû 2014 - 1:04

Ça me convient, merci beaucoup ^^
Alfea

Alfea
Nouveau membre

Messages : 16
Inscrit(e) le : 26/06/2014

http://eldarya-tfm.forumactif.org/
Alfea a été remercié(e) par l'auteur de ce sujet.

Voir le sujet précédent Voir le sujet suivant Revenir en haut

- Sujets similaires

Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum