Gros problème avec un code (pas mal d'erreur et n'arrive a rien)

3 participants

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

Résolu Gros problème avec un code (pas mal d'erreur et n'arrive a rien)

Message par CathyCréation Lun 21 Jan 2013 - 11:46

Bonjour,
je suis entrain de changer tous mon codage pour mon forum mais apparement j'ai une erreur grosse comme une patate
car je n'arrive pas a avoir le résultat voulu.

Je dois optenir ceci

https://2img.net/h/i1103.photobucket.com/albums/g461/maikokiryu/Catgorie-4.png

Et j'obtient sa

http://passioncathy.forumactif.com/forum

je sais pas ou j'ai fait la boulette, mais si vous pouviez m'aider se serai super

Voici le tamplate index box



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}<br />
         {CURRENT_TIME}<br />
         </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><br />
         <a class="gensmall" href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a><br />
         <!-- 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="0" cellpadding="0">
  <tr>
      <th colspan="{catrow.tablehead.INC_SPAN}" nowrap="nowrap" width="100%" class="secondarytitle"> {catrow.tablehead.L_FORUM} </th>
  </tr>
  <!-- END tablehead -->
   <!-- BEGIN cathead -->
   <tr>
<span class="cattitle">
              <a class="cattitle" title="{catrow.cathead.CAT_DESC}" href="{catrow.cathead.U_VIEWCAT}">{catrow.cathead.CAT_TITLE}</a>
            </span>

<td colspan="{catrow.forumrow.INC_SPAN}" valign="top" width="100%" height="50">
        <h{catrow.forumrow.LEVEL} class="hierarchy">


      </h{catrow.cathead.LEVEL}>

      </td>
      <td class="{catrow.cathead.CLASS_ROWPIC}" colspan="3" align="right"> </td>
  </tr>
   <!-- END cathead -->
   <!-- BEGIN forumrow -->
<tr>
<td>
</td>
<td id="essaye" class="row1 over" colspan="{catrow.forumrow.INC_SPAN}" valign="top" width="100%" height="50">
<h{catrow.forumrow.LEVEL} class="hierarchy">

<br>


</span>
</h{catrow.forumrow.LEVEL}>



<table align="center">
<tr>
<td>
<div class=last_post><div style="margin-top:-50px; margin-left:-15px;"><img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></div>
      <div class="topic_poste"><span class="gensmall"><center>{catrow.forumrow.LAST_POST}</center></div>

<div class="topic_post"><center> <span class="gensmall"><b>Topics:</b> {catrow.forumrow.TOPICS}♣ <b>Posts:</b>{catrow.forumrow.POSTS}</span></center></div>
</div>
</td><td><span class="forumlink"><a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}"><span class="gradualfader">{catrow.forumrow.FORUM_NAME}</span></a>
<div id="descripti"><span class="genmed">{catrow.forumrow.FORUM_DESC}</span></div>
<div class="lienss"><center>{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</center></div>
</td>

</tr>
</table>
</span>
</div></br></td>


<!-- BEGIN forum_link_no -->
      </td>
      <!-- END forum_link_no -->
      <!-- BEGIN forum_link -->
      <td class="row3" colspan="3" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.forum_link.HIT_COUNT}</span></td>
      <!-- END forum_link -->
  </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 -->

et mon css

Code:
/* MISE EN FORME DES CATEGORIES ET FORUMS */


/* ********** CATEGORIE ********** */

#descripti{
      width:540px;
height: 150px;
font-family:  Georgia;
font-size: 12px;
background-color: #343434;
text-align: justify;
padding-left: 30px;
padding-right: 10px;
margin-bottom: 10px;
margin-top:6px;
-moz-border-radius:40px 40px 0px 0px;
-webkit-border-radius:40px 40px 0px 0px;
background-image: url(http://i46.servimg.com/u/f46/11/66/41/05/03891310.jpg);
}

.lienss
{
width:570px;
height: 30px;
Border-top: 3px double #e4aabe;
font-weight:  normal;
font-family:Georgia;
font-size: 10px;
padding-left:10px;
margin-top:-20px;
padding-top:10px;
background-color: #343434;
-moz-border-radius:0px 0px 40px 40px;
-webkit-border-radius:0px 0px 40px 40px;}

.descriptiion{
width:410px;
height: 120px;
font-family:  Georgia;
font-size: 12px;
font-weight:normal;
border-left: 3px double #e4aabe;
background-color: #343434;
text-align: justify;
padding-left: 10px;
padding-right: 10px;
margin-left:5px;
margin-top:5px;
margin-bottom:-10px;
padding-top:5px;
overflow: auto;}

.icon_cat
{
width:80px;
height: 80px;
background-color: #343434;
padding: 5px:
margin-left:5px;
margin-top:10px;
margin-bottom:-10px;
-moz-border-radius:30px 30px 30px 30px;
-webkit-border-radius:30px 30px 30px 30px;

}

.last_post{
width: 160px;
height: 120px;
margin-left: 10px;
margin-right: 10px;
margin-top: 35px;
margin-bottom: 20px;
background-color: #343434;
color:#352021;
font-family:  Georgia;
padding-top: 5px;
padding-bottom: 5px;
margin-bottom: 5px;
-moz-border-radius:30px 30px 30px 30px;
-webkit-border-radius:30px 30px 30px 30px;
}

.topic_poste
{margin-top:8px;}

.topic_post{
border-top: 3px solid #292828;
margin-top:5px;
padding-top:5px;
}

a.forumlink:link, a.forumlink:visited {
font-size: 24px;
font-family: Times New Roman;
text-align : right ;
color: #e9a4b9;
font-size: 24px;
letter-spacing: -3px;
padding-left: 0px;
padding-right: 3px;
padding-bottom: 0px;
padding-top: 3px;
margin-bottom: -10px;
margin-right:40px;
display: block;
text-transform: uppercase;
text-shadow: 1px 1px 1px #000000;
font-weight:normal;
}

a.forumlink:hover, a.forumlink:hover:visited {
color: #c03150;
display: block;
}


Et j'aurai aimée aussi avoir les sous forum dans se style, mais j'arrive pas a le modifier non plus

https://i.servimg.com/u/f17/11/96/11/35/sans_t10.png

Merci de votre aide


Dernière édition par CathyCréation le Mar 22 Jan 2013 - 3:58, édité 2 fois
avatar

CathyCréation
****

Messages : 282
Inscrit(e) le : 20/10/2011

http://accrosgraph.forumactif.com
CathyCréation a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Gros problème avec un code (pas mal d'erreur et n'arrive a rien)

Message par Grafik'aid Lun 21 Jan 2013 - 11:54

Normal que je ne voie rien?

Edit: Pas pratique sous le hide Very Happy
Grafik'aid

Grafik'aid
*

Messages : 46
Inscrit(e) le : 04/01/2013

Grafik'aid a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Gros problème avec un code (pas mal d'erreur et n'arrive a rien)

Message par CathyCréation Lun 21 Jan 2013 - 12:01

Embarassed
je vais enlevée le hide, comme sa si on peux m'aider c'est cool Laughing
avatar

CathyCréation
****

Messages : 282
Inscrit(e) le : 20/10/2011

http://accrosgraph.forumactif.com
CathyCréation a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Gros problème avec un code (pas mal d'erreur et n'arrive a rien)

Message par Automne Lun 21 Jan 2013 - 12:13

Bonjour,

Vérifier dans votre css, il me semble que vous avez écris comme ceci
//* ********** CATEGORIE ********** */

Il faudrait retirer un slash pour qu'il s'applique correctement
/* ********** CATEGORIE ********** */
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.

Résolu Re: Gros problème avec un code (pas mal d'erreur et n'arrive a rien)

Message par CathyCréation Lun 21 Jan 2013 - 12:18

Ah oui effectivement sa y est hihihi.

POurriez vous m'aider pour la suite svp? Car je voudrais qu'il soit comme sur le modèle et sur mon forum test les bord son carré au lieu d'etre arrondis
avatar

CathyCréation
****

Messages : 282
Inscrit(e) le : 20/10/2011

http://accrosgraph.forumactif.com
CathyCréation a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Gros problème avec un code (pas mal d'erreur et n'arrive a rien)

Message par CathyCréation Lun 21 Jan 2013 - 12:20

Bon ben je viens de voir que sur google crhome j'ai pas de soucis, mais avec mozilla je n'ai pas les arrondis.
avatar

CathyCréation
****

Messages : 282
Inscrit(e) le : 20/10/2011

http://accrosgraph.forumactif.com
CathyCréation a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Gros problème avec un code (pas mal d'erreur et n'arrive a rien)

Message par Automne Lun 21 Jan 2013 - 13:21

Bonjour,

Penser a éditer votre message, pour rajouter des informations supplémentaires.

Pour le border, rajouter au css au différente classe ceci (exemple pour .last_post)
Code:
.last_post { border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;}

si cela fonctionne, faite pareil pour les autres.
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.

Résolu Re: Gros problème avec un code (pas mal d'erreur et n'arrive a rien)

Message par CathyCréation Lun 21 Jan 2013 - 13:34

Super merci c'est bien sa.
Encore une dernière chose pour les sous forum je fait cmt pour avoir le modèle que j'ai mis dans mon premier message.
avatar

CathyCréation
****

Messages : 282
Inscrit(e) le : 20/10/2011

http://accrosgraph.forumactif.com
CathyCréation a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Gros problème avec un code (pas mal d'erreur et n'arrive a rien)

Message par Automne Lun 21 Jan 2013 - 14:02

Là je ne pourrais pas trop vous aider, mais vous pouvez commencer les modifications suivantes. Cela se passe dans le topics_lists_box. il faut voir après <!-- END switch_description -->

Faire un truc dans se genre mais a adapter a votre template.
Code:
<td class="row2" align="center" valign="middle"><span class="postdetails">
                  Se sujet a était vues {topics_list_box.row.VIEWS}&n/bsp;fois et a reçu {topics_list_box.row.REPLIES}&nb/sp;réponses.&n/bsp;
                  Dernière réponse par&nb/sp;{topics_list_box.row.TOPIC_AUTHOR}&nb/sp;{topics_list_box.row.LAST_POST_TIME}</span></td>
      <td class="row3Right" onmouseover='this.className="row1"' onmouseout='this.className="row3Right"' align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topics_list_box.row.LAST_POST_IMG}</span></td>
<!-- BEGIN multi_selection -->      

Il y a des espaces a modifier dans le code, &nb/sp;( a retirer le slash)
Il faudrait entourer cette partie descriptive d'une class, voir changer <td class="row2" align="center" valign="middle"><span class="postdetails"> et y donner via le css, les fonctions border et background.
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.

Résolu Re: Gros problème avec un code (pas mal d'erreur et n'arrive a rien)

Message par CathyCréation Lun 21 Jan 2013 - 14:09

Aie j'ai essaiée mais sa donne sa moi et ma maladresse hihihi

https://i.servimg.com/u/f17/11/96/11/35/sans_t11.png
avatar

CathyCréation
****

Messages : 282
Inscrit(e) le : 20/10/2011

http://accrosgraph.forumactif.com
CathyCréation a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Gros problème avec un code (pas mal d'erreur et n'arrive a rien)

Message par Automne Lun 21 Jan 2013 - 14:13

oui, parce que je ne vous est pas donné la modication a faire plus haut

Cette partie
Code:
<!-- END multi_selection -->

<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
   <tr>
      <th colspan="{topics_list_box.row.header_table.COLSPAN}" align="center" nowrap="nowrap"> {topics_list_box.row.L_TITLE} </th>
      <th align="center" nowrap="nowrap" width="80"> {topics_list_box.row.L_REPLIES} </th>
      <th align="center" nowrap="nowrap" width="100"> {topics_list_box.row.L_AUTHOR} </th>
      <th align="center" nowrap="nowrap" width="50"> {topics_list_box.row.L_VIEWS} </th>
      <th align="center" nowrap="nowrap" width="150"> {topics_list_box.row.L_LASTPOST} </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 -->

Mettre ceci
Code:
<!-- END multi_selection -->

<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
   <tr>
      <th colspan="{topics_list_box.row.header_table.COLSPAN}" align="center" nowrap="nowrap"> {topics_list_box.row.L_TITLE} </th>
      <th align="center" nowrap="nowrap" width="80"> {topics_list_box.row.L_REPLIES} 
       {topics_list_box.row.L_AUTHOR}{topics_list_box.row.L_VIEWS}</th>
      <th align="center" nowrap="nowrap" width="150"> {topics_list_box.row.L_LASTPOST} </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 -->
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.

Résolu Re: Gros problème avec un code (pas mal d'erreur et n'arrive a rien)

Message par CathyCréation Lun 21 Jan 2013 - 14:18

Hihihi quesque je disais moi et mes betises lol
Bon c'est presque sa, mais j'ai encore ce petit soucis avec les petite phrase, elle prenne trop de place

https://i.servimg.com/u/f17/11/96/11/35/sans_t12.png

EN tout cas merci de votre aide
avatar

CathyCréation
****

Messages : 282
Inscrit(e) le : 20/10/2011

http://accrosgraph.forumactif.com
CathyCréation a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Gros problème avec un code (pas mal d'erreur et n'arrive a rien)

Message par Automne Lun 21 Jan 2013 - 14:31

Tu peux me donner ton template. Merci
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.

Résolu Re: Gros problème avec un code (pas mal d'erreur et n'arrive a rien)

Message par CathyCréation Lun 21 Jan 2013 - 14:45

Le voici

Code:
<!-- BEGIN topics_list_box --><!-- BEGIN row --><!-- BEGIN header_table --><!-- BEGIN multi_selection -->
<script type="text/javascript">
function check_uncheck_main_{topics_list_box.row.header_table.BOX_ID}() {
   var all_checked = true;
   for (i = 0; (i < document.{topics_list_box.FORMNAME}.elements.length) && all_checked; i++) {
      if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
         all_checked = document.{topics_list_box.FORMNAME}.elements[i].checked;
      }
   }
   document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked = all_checked;
}
function check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}() {
   for (i = 0; i < document.{topics_list_box.FORMNAME}.length; i++) {
      if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
         document.{topics_list_box.FORMNAME}.elements[i].checked = document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked;
      }
   }
}
</script>
        <!-- END multi_selection -->
       
        <table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
          <tr>
              <th colspan="{topics_list_box.row.header_table.COLSPAN}" align="center" nowrap="nowrap"> {topics_list_box.row.L_TITLE} </th>
              <th align="center" nowrap="nowrap" width="80"> {topics_list_box.row.L_REPLIES}
              {topics_list_box.row.L_AUTHOR}{topics_list_box.row.L_VIEWS}</th>
              <th align="center" nowrap="nowrap" width="150"> {topics_list_box.row.L_LASTPOST} </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 -->
   <!-- END header_table --><!-- BEGIN header_row -->
   <tr>
      <td class="row3" colspan="{topics_list_box.row.COLSPAN}"><span class="gensmall"> <b>{topics_list_box.row.L_TITLE}</b></span></td>
   </tr>
<!-- END header_row -->

<!-- BEGIN topic -->
{topics_list_box.row.END_TABLE_STICKY}
   <tr>
      <!-- BEGIN single_selection -->
      <td class="{topics_list_box.row.ROW_CLASS}" align="center" valign="middle" width="20"><input type="radio" name="{topics_list_box.FIELDNAME}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} /></td>
      <!-- END single_selection -->
      <td class="{topics_list_box.row.ROW_FOLDER_CLASS}" align="center" valign="middle" width="20"><img title="{topics_list_box.row.L_TOPIC_FOLDER_ALT}" src="{topics_list_box.row.TOPIC_FOLDER_IMG}" alt="{topics_list_box.row.L_TOPIC_FOLDER_ALT}" /></td>
      <!-- BEGIN icon -->
      <td class="{topics_list_box.row.ROW_CLASS}" align="center" valign="middle" width="20">{topics_list_box.row.ICON}</td>
      <!-- END icon -->
      <td class="{topics_list_box.row.ROW_CLASS}" onmouseover='this.className="row2"' onmouseout='this.className="{topics_list_box.row.ROW_CLASS}"' width="100%">
         <div class="topictitle">
            {topics_list_box.row.NEWEST_POST_IMG}{topics_list_box.row.PARTICIPATE_POST_IMG}{topics_list_box.row.TOPIC_TYPE}
            <h2 class="topic-title">
               <a class="topictitle" href="{topics_list_box.row.U_VIEW_TOPIC}">{topics_list_box.row.TOPIC_TITLE}</a>
            </h2>
         </div>
         <!-- BEGIN switch_description -->
         <span class="genmed">
            <br />
            {topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION}
         </span>
         <!-- END switch_description -->
<td class="row2" align="center" valign="middle"><span class="postdetails">
                  Se sujet a était vues {topics_list_box.row.VIEWS} fois et a reçu {topics_list_box.row.REPLIES} réponses.
                  Dernière réponse par {topics_list_box.row.TOPIC_AUTHOR} {topics_list_box.row.LAST_POST_TIME}</span></td>
      <td class="row3Right" onmouseover='this.className="row1"' onmouseout='this.className="row3Right"' align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topics_list_box.row.LAST_POST_IMG}</span></td>
<!-- BEGIN multi_selection -->

      <td class="row2" align="center" valign="middle"><span class="postdetails"><input onclick="javascript:check_uncheck_main_{topics_list_box.row.BOX_ID}();" type="checkbox" name="{topics_list_box.FIELDNAME}[]{topics_list_box.row.BOX_ID}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} /></span></td>
   <!-- END multi_selection -->
   </tr>
   <!-- END topic --><!-- BEGIN no_topics -->
   <tr>
      <td class="row1" colspan="{topics_list_box.row.COLSPAN}" align="center" valign="middle" height="30"><span class="gen">{topics_list_box.row.L_NO_TOPICS}</span></td>
   </tr>
   <!-- END no_topics --><!-- BEGIN bottom -->
   <tr>
      <td class="catBottom" colspan="{topics_list_box.row.COLSPAN}" valign="middle">
         <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
               <td> <span class="gensmall">{PAGINATION}</span></td>
               <td align="right"><a href="#top">{L_BACK_TO_TOP}</a> </td>
            </tr>
         </table>
      </td>
   </tr>
<!-- END bottom --><!-- BEGIN footer_table -->
</table><!-- END footer_table --><!-- BEGIN spacer --><br class="gensmall" /><!-- END spacer --><!-- END row --><!-- END topics_list_box -->
avatar

CathyCréation
****

Messages : 282
Inscrit(e) le : 20/10/2011

http://accrosgraph.forumactif.com
CathyCréation a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Gros problème avec un code (pas mal d'erreur et n'arrive a rien)

Message par Automne Lun 21 Jan 2013 - 15:04

ok, j'ai pas du tout se rendu^^

Essais un truc, pa << général<< message et email << configuration << Séparer les annonces et posts-it des messages : coche "par une ligne"

cela devrait régler le décalage.
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.

Résolu Re: Gros problème avec un code (pas mal d'erreur et n'arrive a rien)

Message par CathyCréation Lun 21 Jan 2013 - 16:36

Je viens d'essayée comme tu as dit, mais j'ai toujours le meme résultat que toute a l'heure.
avatar

CathyCréation
****

Messages : 282
Inscrit(e) le : 20/10/2011

http://accrosgraph.forumactif.com
CathyCréation a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Gros problème avec un code (pas mal d'erreur et n'arrive a rien)

Message par Automne Lun 21 Jan 2013 - 16:59

Coucou,

le résultat est mieux il s'approche déjà on n'a plus https://i.servimg.com/u/f10/16/59/52/48/sans_t27.jpg

Maintenant il te reste dans se template a modifier les largeurs des colonnes,
voir pour mettre des largeurs au table et au td
<TD WIDTH="%">
<TABLE WIDTH=%>

ensuite donner des identifiants au tableau pour permettre d'y mettre du css

Fait des essaies, je regarde dans la soirée, c'est très long Wink
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.

Résolu Re: Gros problème avec un code (pas mal d'erreur et n'arrive a rien)

Message par CathyCréation Lun 21 Jan 2013 - 17:04

Ok merci beaucoup pour ton aide.
a plus tard
avatar

CathyCréation
****

Messages : 282
Inscrit(e) le : 20/10/2011

http://accrosgraph.forumactif.com
CathyCréation a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Gros problème avec un code (pas mal d'erreur et n'arrive a rien)

Message par Automne Lun 21 Jan 2013 - 19:29

Coucou

Je t'ai mis les class au différents endroit
Code:
    <!-- BEGIN topics_list_box --><!-- BEGIN row --><!-- BEGIN header_table --><!-- BEGIN multi_selection -->
        <script type="text/javascript">
        function check_uncheck_main_{topics_list_box.row.header_table.BOX_ID}() {
          var all_checked = true;
          for (i = 0; (i < document.{topics_list_box.FORMNAME}.elements.length) && all_checked; i++) {
              if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
                all_checked = document.{topics_list_box.FORMNAME}.elements[i].checked;
              }
          }
          document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked = all_checked;
        }
        function check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}() {
          for (i = 0; i < document.{topics_list_box.FORMNAME}.length; i++) {
              if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
                document.{topics_list_box.FORMNAME}.elements[i].checked = document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked;
              }
          }
        }
        </script>
                <!-- END multi_selection -->
           
                <table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
               
          <!-- BEGIN pagination -->
          <tr>
              <td class="row1" colspan="7" align="right"><span class="gensmall">{PAGINATION}</span></td>
          </tr>
          <!-- END pagination -->
          <!-- END header_table --><!-- BEGIN header_row -->
          <tr>
              <td class="row3" colspan="{topics_list_box.row.COLSPAN}"><span class="gensmall"> <b>{topics_list_box.row.L_TITLE}</b></span></td>
          </tr>
        <!-- END header_row -->

        <!-- BEGIN topic -->
        {topics_list_box.row.END_TABLE_STICKY}
          <tr>
              <!-- BEGIN single_selection -->
              <td class="{topics_list_box.row.ROW_CLASS}" align="center" valign="middle" width="20"><input type="radio" name="{topics_list_box.FIELDNAME}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} /></td>
              <!-- END single_selection -->
              <td class="{topics_list_box.row.ROW_FOLDER_CLASS}" align="center" valign="middle" width="20"><img title="{topics_list_box.row.L_TOPIC_FOLDER_ALT}" src="{topics_list_box.row.TOPIC_FOLDER_IMG}" alt="{topics_list_box.row.L_TOPIC_FOLDER_ALT}" /></td>
              <!-- BEGIN icon -->
              <td class="{topics_list_box.row.ROW_CLASS}" align="center" valign="middle" width="20">{topics_list_box.row.ICON}</td>
              <!-- END icon -->
           
         
            <td class="{topics_list_box.row.ROW_CLASS}" onmouseover='this.className="des_2"' onmouseout='this.className="{topics_list_box.row.ROW_CLASS}"' width="450px">
                <div class="topictitle">
                    {topics_list_box.row.NEWEST_POST_IMG}{topics_list_box.row.PARTICIPATE_POST_IMG}{topics_list_box.row.TOPIC_TYPE}
                    <h2 class="topic-title">
                      <a class="topictitle" href="{topics_list_box.row.U_VIEW_TOPIC}">{topics_list_box.row.TOPIC_TITLE}</a>
                    </h2>
                </div>
                <!-- BEGIN switch_description -->
                <span class="genmed">
                    <br />
                    {topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION}
                </span>
                <!-- END switch_description -->
        <td class="des_3" width="250px" align="center" valign="middle"><span class="postdetails">
          Se sujet a était vues {topics_list_box.row.VIEWS} fois et a reçu {topics_list_box.row.REPLIES} réponses.
                          Dernière réponse par {topics_list_box.row.TOPIC_AUTHOR} {topics_list_box.row.LAST_POST_TIME}</span></td>
              <td width="110px" class="row3Right" onmouseover='this.className="des_1"' onmouseout='this.className="row3Right"' align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topics_list_box.row.LAST_POST_IMG}</span></td>
        <!-- BEGIN multi_selection -->

              <td class="row2" align="center" valign="middle"><span class="postdetails"><input onclick="javascript:check_uncheck_main_{topics_list_box.row.BOX_ID}();" type="checkbox" name="{topics_list_box.FIELDNAME}[]{topics_list_box.row.BOX_ID}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} /></span></td>
          <!-- END multi_selection -->
          </tr>
          <!-- END topic --><!-- BEGIN no_topics -->
          <tr>
              <td class="row1" colspan="{topics_list_box.row.COLSPAN}" align="center" valign="middle" height="30"><span class="gen">{topics_list_box.row.L_NO_TOPICS}</span></td>
          </tr>
          <!-- END no_topics --><!-- BEGIN bottom -->
          <tr>
              <td class="catBottom" colspan="{topics_list_box.row.COLSPAN}" valign="middle">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td> <span class="gensmall">{PAGINATION}</span></td>
                      <td align="right"><a href="#top">{L_BACK_TO_TOP}</a> </td>
                    </tr>
                </table>
              </td>
          </tr>
        <!-- END bottom --><!-- BEGIN footer_table -->
        </table><!-- END footer_table --><!-- BEGIN spacer --><br class="gensmall" /><!-- END spacer --><!-- END row --><!-- END topics_list_box -->

td.des_2 pour l'encadré titre
td.des_3 pour le milieu
td.des_1 pour l'endroit ou y'a l'icone

Tu peux appliquer ta feuille de style css voici pour les bordures http://css.mammouthland.net/border-css.php, les ombres http://www.alsacreations.com/tuto/lire/910-creer-des-ombrages-ombres-css-box-shadow-text-shadow.html

Tu peux changer l'image aller au dernier message, via le panneau d'admin affichage, gestion des images. Tu devrais faire un saut de ligne <br/> après chaque phrase par exemple
Se sujet a était vues {topics_list_box.row.VIEWS} fois et a reçu
Code:
{topics_list_box.row.REPLIES} réponses.<br/>
                          Dernière réponse par {topics_list_box.row.TOPIC_AUTHOR} <br/>{topics_list_box.row.LAST_POST_TIME}</span></td>
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.

Résolu Re: Gros problème avec un code (pas mal d'erreur et n'arrive a rien)

Message par CathyCréation Lun 21 Jan 2013 - 19:45

Super merci beaucoup.
Juste encore une tite question je fait cmt pour avoir les espaces entre chaque message, style Note, annonce, sujet?
avatar

CathyCréation
****

Messages : 282
Inscrit(e) le : 20/10/2011

http://accrosgraph.forumactif.com
CathyCréation a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Gros problème avec un code (pas mal d'erreur et n'arrive a rien)

Message par Automne Lun 21 Jan 2013 - 21:08

Il faudrait que tu rajoutes display block a td.des_3

Code:
td.des_3 {
 display: block;
}

puis que tu règles avec les padding et margin http://css.mammouthland.net/margin-padding-css.php
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.

Résolu Re: Gros problème avec un code (pas mal d'erreur et n'arrive a rien)

Message par CathyCréation Mar 22 Jan 2013 - 3:57

Un grand merci pour ton aide.
Cette fois c'est parfait. mille merci
avatar

CathyCréation
****

Messages : 282
Inscrit(e) le : 20/10/2011

http://accrosgraph.forumactif.com
CathyCréation 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