Déplacement des liens de sous-forum

3 participants

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

Résolu Déplacement des liens de sous-forum

Message par LouSheeta Jeu 9 Juin 2011 - 12:29

Bonjour,

Je suis fondatrice d'un forum Phpp2 et je voulais savoir comment déplacer les liens des sous forums pour les mettre avec la description des forum (en index).

Je voudrais faire passer la partie encadrée en rouge dans la partie encadrée en gris sous la description.

Spoiler:

Merci d'avance...
LouSheeta

LouSheeta
****

Féminin
Messages : 322
Inscrit(e) le : 17/08/2006

http://forum-test-flora.forumactif.com
LouSheeta a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Déplacement des liens de sous-forum

Message par Lixyr Jeu 9 Juin 2011 - 13:15

Bonjour.

Pur ce faire, il me faudrait votre template index_box. Et éventuellement, votre css, pour que ce soit plus simple.

Cordialement.
Lixyr

Lixyr
Aidactive
Aidactive

Féminin
Messages : 7437
Inscrit(e) le : 22/07/2010

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

Résolu Re: Déplacement des liens de sous-forum

Message par LouSheeta Ven 10 Juin 2011 - 11:03

Les voici :
Code:
  <table width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
            <tr>
                <td valign="bottom">
                    <!-- BEGIN switch_user_logged_in -->
                    <span class="gensmall">{LAST_VISIT_DATE}

                    {CURRENT_TIME}

                    </span>
                    <!-- END switch_user_logged_in -->
                    <div class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC}</div>
                </td>
                <td class="gensmall" align="right" valign="bottom">
                    <!-- BEGIN switch_user_logged_in -->
                    <a class="gensmall" href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a>

                    <a class="gensmall" href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a>

                    <!-- END switch_user_logged_in -->
                    <a class="gensmall" href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a>
                </td>
            </tr>
        </table>
       


        <!-- BEGIN catrow --><!-- BEGIN tablehead -->
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td colspan="{catrow.tablehead.INC_SPAN}" nowrap="nowrap" width="100%" class="secondarytitle">
<div class="logo-titre"></div>
<div class="titre-cat">{catrow.tablehead.L_FORUM}</div>

</td>
            </tr>
            <!-- END tablehead -->
            <!-- BEGIN cathead -->
            <tr>
                <!-- BEGIN inc -->
                <td class="{catrow.cathead.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
                <!-- END inc -->
                <td class="{catrow.cathead.CLASS_CAT}" colspan="{catrow.cathead.INC_SPAN}" width="100%">
                    <h{catrow.cathead.LEVEL} class="hierarchy">
                        <span class="cattitle">
                            <a class="cattitle" title="{catrow.cathead.CAT_DESC}" href="{catrow.cathead.U_VIEWCAT}">{catrow.cathead.CAT_TITLE}</a>
                        </span>
                    </h{catrow.cathead.LEVEL}>
                </td>
                <td class="{catrow.cathead.CLASS_ROWPIC}" colspan="3" align="right"> </td>
            </tr>
            <!-- END cathead -->
            <!-- BEGIN forumrow -->
            <tr>
                <!-- BEGIN inc -->
                <td class="{catrow.forumrow.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" alt="." /></td>
                <!-- END inc -->
                <td class="{catrow.forumrow.INC_CLASS}" align="center" valign="middle">
                    <img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
                </td>
                <td class="row1 over" colspan="{catrow.forumrow.INC_SPAN}" valign="top" width="100%" height="50">
                    <table width="100%"><tbody><tr><td><h{catrow.forumrow.LEVEL} class="hierarchy">
                    <span class="forumlink">
                      <a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a>
                    </span>
                </h{catrow.forumrow.LEVEL}></td><tr></tbody></table>
                    <span class="genmed">{catrow.forumrow.FORUM_DESC}
                    </span>
<span class="gensmall">
                        <!-- BEGIN switch_moderators_links -->
                        {catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
                        <!-- END switch_moderators_links -->
                        {catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
                    </span>
                </td><td class="row3 over" align="center" valign="middle" height="50">
        <div class="topicpost">  Agressions : {catrow.forumrow.POSTS}  |  Maisons : {catrow.forumrow.TOPICS}<br></div>
        <img src="{SPACER}" alt="" height="3" width="1" />
        <div class="lastpost">{catrow.forumrow.LAST_POST}</div></td>
            </tr>
            <!-- END forumrow -->
            <!-- BEGIN catfoot -->
            <tr>
                <!-- BEGIN inc -->
                <td class="{catrow.catfoot.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
                <!-- END inc -->
                <td class="spaceRow" colspan="{catrow.catfoot.INC_SPAN}" height="1"><img src="{SPACER}" alt="" height="1" width="1" /></td>
            </tr>
            <!-- END catfoot -->
            <!-- BEGIN tablefoot -->
        </table><img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --><!-- END catrow -->

Code:
/* =====couleur des liens======  */
a {color: #C1C1C1;}
a:link {color: #C1C1C1;}
a:hover {color: #C1C1C1;}
a.forumlink {color: #C1C1C1;}
a.forumlink:hover {color: #C1C1C1;}
a.topiclink {color: #C1C1C1;}
a.topiclink:hover {color: #C1C1C1;}
/* =====fin=======  */



.forumline {
  border: 1px solid;
  -moz-border-radius: 20px;
  -webkit-border-radius: 20px;
  border-radius:20px;}

.forumline {-moz-border-radius: 20px;
-webkit-border-radius: 20px;
border-radius: 20px;
padding: 7px;}

td.catLeft {
-moz-border-radius: 30px;}
td.catBottom {
-moz-border-radius: 30px;}
td.catLeft {
-moz-border-radius: 30px;}
td.catHead {
-moz-border-radius: 30px;}
td.catLeft {
-moz-border-radius: 30px;}

.bodyline{ 
  -moz-box-shadow: 0px 0px 10px #000000;
  -webkit-box-shadow: 0px 0px 10px #000000;
  - box-shadow: 0px 0px 10px #000000;
  -moz-border-radius:20px;
  -webkitborder-radius:20px;
}

.secondarytitle {
border:1px;
-moz-border-radius: 20px;}

#chatbox_header .cattitle strong { display: none; }
#chatbox_header .cattitle:before { content: "The Chat of Night creatures"; }

.forumline {
margin-bottom: 30px;}

.navig {
position: absolute;
top: 0px;
width: 100%;}

.my_modified_table{
  width: 80%;
  margin-left: 10%;
margin-right: 10%;
margin-top: 5px !important;
font-family: Verdana;}

.my_forum_name{
  display:none;}

.my_img{
width: 10%;
margin-left: 50px;}

.my_disc{width: 70%;
text-align:center;
font-size: 13px;}

.my_stats{
width: 20%;
text-align:center;}

.myfoo_title{ 
text-align:center;
  width: 100%;
  -moz-border-radius: 6px;
  border: 1px solid #EAEAEA;}

.my_title{
  text-align:center;
  font-size: 14px;
font-family: Arial;}

.desc {
padding-top : 10px;
padding-bottom : 10px;
padding-right : 50px;
padding-left : 50px;
margin-left : 20px;
margin-right : 20px;
border: 3px solid #666666;}

a.mainmenu {margin: 5px;
font-family: Arial;
font-size: 11px;
color: #ffffff;}

 .topicpost
{
background-image:url("http://i25.servimg.com/u/f25/11/05/84/49/copie_16.jpg") ;
font-size:11px;
color:#fff;
line-height: 2em;
border: 2px solid #666666;
-moz-border-radius: 3xp ;
-webkit-border-radius: 3px;
-khtml-border-radius: 3xp;
border-radius: 3 xp;
margin-bottom: 10xp
padding-top: 0px;
padding-right: 3px;
padding-left: 3px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
border-top-right-radius: 10px;
border-top-left-radius: 10px;
max-width:140px;
min-width:140px;
}
.lastpost
{
background-image:url("http://i25.servimg.com/u/f25/11/05/84/49/copie_16.jpg") ;
font-size:11px;
text-align:center;
color:#fff;
line-height: 1,5em;
border: 2px solid #666666;
-moz-border-radius: 3xp ;
-webkit-border-radius: 3px;
-khtml-border-radius: 3xp;
border-radius: 3 xp;
padding-top: 0px;
padding-right: 3px;
padding-bottom: 0px;
padding-left: 3px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
border-top-right-radius: 10px;
border-top-left-radius: 10px;
max-width:140px;
min-width:140px;
}

.signature_div {max-height:140px;overflow:auto;}

.logo-titre{
   position:absolute;
   z-index: 999;
   margin-top:-45px;
   background-color: transparent;
   background-image: url(http://img11.hostingpics.net/pics/81603801.png);
   background-repeat: no-repeat;
   background-position: center center;
   width:60px;
   height:65px;   
}
.titre-cat{
   position:absolute;
   margin-top:-29px;
   display:inline;
   height:19px;
   line-height:19px;
   margin-left:40px;
   padding-left:20px;
   padding-right:10px;   
   border:1px #000 solid;
   -moz-border-radius: 10px 0px 0px 10px;   
   border-radius: 10px 10px 0px 0px;
   -webkit-border-top-left-radius: 10px;
   -webkit-border-top-right-radius: 10px;
   background-image: url(http://i25.servimg.com/u/f25/11/05/84/49/copie_11.jpg);
   background-repeat: repeat;   
}

a { text-decoration: none; }

Merci d'avance ^^
LouSheeta

LouSheeta
****

Féminin
Messages : 322
Inscrit(e) le : 17/08/2006

http://forum-test-flora.forumactif.com
LouSheeta a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Déplacement des liens de sous-forum

Message par Lixyr Ven 10 Juin 2011 - 11:39

Il n'y a dons pas de cadre en fait dans vos descriptions.

Alors on va bouger cette variable :

{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}

juste après cette variable :
{catrow.forumrow.FORUM_DESC}
de sorte qu'elles soient dans le même span.

code :

Code:
      <table width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
                <tr>
                    <td valign="bottom">
                        <!-- BEGIN switch_user_logged_in -->
                        <span class="gensmall">{LAST_VISIT_DATE}

                        {CURRENT_TIME}

                        </span>
                        <!-- END switch_user_logged_in -->
                        <div class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC}</div>
                    </td>
                    <td class="gensmall" align="right" valign="bottom">
                        <!-- BEGIN switch_user_logged_in -->
                        <a class="gensmall" href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a>

                        <a class="gensmall" href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a>

                        <!-- END switch_user_logged_in -->
                        <a class="gensmall" href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a>
                    </td>
                </tr>
            </table>
         


            <!-- BEGIN catrow --><!-- BEGIN tablehead -->
    <table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
    <tr>
    <td colspan="{catrow.tablehead.INC_SPAN}" nowrap="nowrap" width="100%" class="secondarytitle">
    <div class="logo-titre"></div>
    <div class="titre-cat">{catrow.tablehead.L_FORUM}</div>

    </td>
                </tr>
                <!-- END tablehead -->
                <!-- BEGIN cathead -->
                <tr>
                    <!-- BEGIN inc -->
                    <td class="{catrow.cathead.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
                    <!-- END inc -->
                    <td class="{catrow.cathead.CLASS_CAT}" colspan="{catrow.cathead.INC_SPAN}" width="100%">
                        <h{catrow.cathead.LEVEL} class="hierarchy">
                            <span class="cattitle">
                                <a class="cattitle" title="{catrow.cathead.CAT_DESC}" href="{catrow.cathead.U_VIEWCAT}">{catrow.cathead.CAT_TITLE}</a>
                            </span>
                        </h{catrow.cathead.LEVEL}>
                    </td>
                    <td class="{catrow.cathead.CLASS_ROWPIC}" colspan="3" align="right"> </td>
                </tr>
                <!-- END cathead -->
                <!-- BEGIN forumrow -->
                <tr>
                    <!-- BEGIN inc -->
                    <td class="{catrow.forumrow.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" alt="." /></td>
                    <!-- END inc -->
                    <td class="{catrow.forumrow.INC_CLASS}" align="center" valign="middle">
                        <img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
                    </td>
                    <td class="row1 over" colspan="{catrow.forumrow.INC_SPAN}" valign="top" width="100%" height="50">
                        <table width="100%"><tbody><tr><td><h{catrow.forumrow.LEVEL} class="hierarchy">
                        <span class="forumlink">
                          <a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a>
                        </span>
                    </h{catrow.forumrow.LEVEL}></td><tr></tbody></table>
                        <span class="genmed">{catrow.forumrow.FORUM_DESC}<br>
                            {catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
                        </span>
    <span class="gensmall">
                            <!-- BEGIN switch_moderators_links -->
                            {catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
                            <!-- END switch_moderators_links -->
                        </span>
                    </td><td class="row3 over" align="center" valign="middle" height="50">
            <div class="topicpost">  Agressions : {catrow.forumrow.POSTS}  |  Maisons : {catrow.forumrow.TOPICS}<br></div>
            <img src="{SPACER}" alt="" height="3" width="1" />
            <div class="lastpost">{catrow.forumrow.LAST_POST}</div></td>
                </tr>
                <!-- END forumrow -->
                <!-- BEGIN catfoot -->
                <tr>
                    <!-- BEGIN inc -->
                    <td class="{catrow.catfoot.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
                    <!-- END inc -->
                    <td class="spaceRow" colspan="{catrow.catfoot.INC_SPAN}" height="1"><img src="{SPACER}" alt="" height="1" width="1" /></td>
                </tr>
                <!-- END catfoot -->
                <!-- BEGIN tablefoot -->
            </table><img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --><!-- END catrow -->

Vous ne verrez pas la différence car il n'y a pas de cadre dans vos description.


Pour faciliter les recherches, mettez un titre explicite.
Remerciez Déplacement des liens de sous-forum 976083691 le message qui vous a aidé pour que celui-ci soit mis en évidence.
Épinglez votre sujet en résolu Déplacement des liens de sous-forum 3592387030 pour prévenir la modération.

Déplacement des liens de sous-forum Baston10
Lixyr

Lixyr
Aidactive
Aidactive

Féminin
Messages : 7437
Inscrit(e) le : 22/07/2010

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

Résolu Re: Déplacement des liens de sous-forum

Message par Automne Jeu 16 Juin 2011 - 1:14

Déplacement des liens de sous-forum Check10Bonjour,

Afin de faciliter la gestion des problèmes, si votre problème est
résolu, pensez à :

  • éditer votre premier message,
  • cocher l'icône résolu
  • Et enregistrer en cliquant sur
    Déplacement des liens de sous-forum Envoi10


Vous pouvez également remercier les personnes qui vous ont aidé, en
cliquant sur le bouton
Déplacement des liens de sous-forum 50378

A
bientôt sur ForumActif
Smile
Automne

Automne
Membre actif

Messages : 8431
Inscrit(e) le : 22/03/2010

https://gilles570.motards.net/
Automne 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