Colonne en trop dans la liste des sujets

3 participants

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

Résolu Colonne en trop dans la liste des sujets

Message par Ellyann Sam 12 Jan 2013 - 17:12

bonjour à tous ceux qui liront ce message,

J'ai un problème sur lequel je bute et après avoir essayé un peu de mon coté je viens vous demander votre aide, en espérant que vous ayez la solution.

dans les sous-forums de mon forum j'ai la liste des sujets mais il y a une colonne qui s'est rajoutée et j'aimerais l'enlever :
Spoiler:

Si vous saviez comment faire ça m'arrangerais bien.

Manipulations perso :

J'ai cherché dans "viewforum_body", qui est une template permettant "l'affichage d'un forum"
Ainsi que dans "topics_list_box", qui est une template permettant "l'affichage des sujets"

Malgré cela je n'ai pas trouvé quoi changer et ça m'ennuie plutôt pas mal, je compte faire de ce forum un forum rp et les beugs graphiques j'aimerais les limiter le plus possible :S

Merci d'avance de votre aide,

Ellyann


Dernière édition par Ellyann le Ven 18 Jan 2013 - 10:54, édité 1 fois
avatar

Ellyann
*

Messages : 31
Inscrit(e) le : 27/06/2012

http://sin-dra.forum-invision.com/
Ellyann a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Colonne en trop dans la liste des sujets

Message par Scipion Sam 12 Jan 2013 - 22:03

Bonsoir !

A titre d'information, cette colonne est destinée à loger les images des icônes de sujets/messages telles que "En cours" en cours , "Résolu" résolu etc... afin d'illustrer le statut d'un sujet/message.

En conséquence, la suppression éventuelle de cette colonne, que je considère pratiquement impossible, ne vous permettra plus d'afficher correctement les Icônes citées dans la liste des sujets.

Bonne soirée

Cordialement

Scipion

Scipion
Membre actif

Masculin
Messages : 8655
Inscrit(e) le : 03/02/2010

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

Résolu Re: Colonne en trop dans la liste des sujets

Message par Ellyann Sam 12 Jan 2013 - 22:09

Dans ce cas serait il possible de cacher la bordure de droite dans cette colone? et si oui, où puis je faire ça?
Ou désactiver les icônes des sujets je sais pas ^^"
Car là ça fait vraiment moche --"
avatar

Ellyann
*

Messages : 31
Inscrit(e) le : 27/06/2012

http://sin-dra.forum-invision.com/
Ellyann a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Colonne en trop dans la liste des sujets

Message par Scipion Sam 12 Jan 2013 - 22:18

Désolé, personnellement je ne connais aucun moyen qui puisse supprimer cette colonne. Laissez votre sujet ouvert à toute fin utile, peut-être qu'un membre du Staff FA vous proposera une solution.

En attendant, faites une recherche sur ce forum pour vous assurer que le sujet n'a pas été traité auparavant.

Cordialement
Scipion

Scipion
Membre actif

Masculin
Messages : 8655
Inscrit(e) le : 03/02/2010

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

Résolu Re: Colonne en trop dans la liste des sujets

Message par Anzu Ven 18 Jan 2013 - 10:29

Bonjour,

Il est possible de retirer cette colonne via les templates. Allez dans PA > Affichage > Templates > Général > topics_list_box > Repérez cette partie:

Code:
<!-- BEGIN icon -->
      <td class="{topics_list_box.row.ROW_CLASS}" align="center" valign="middle" width="20">{topics_list_box.row.ICON}</td>
      <!-- END icon -->

Et supprimez la.

Il suffit de rajouter un colspan de 2 dans le troisième td.

Le template:

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} </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 -->
   </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>
      
      <td colspan="2" 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 -->
         <span class="gensmall">{topics_list_box.row.TOPIC_ANNOUNCES_DATES}{topics_list_box.row.TOPIC_CALENDAR_DATES}</span> 
         <span class="gensmall">{topics_list_box.row.GOTO_PAGE}<!-- BEGIN nav_tree -->{topics_list_box.row.TOPIC_NAV_TREE} <!-- END nav_tree --></span>
      </td>

      <td class="row2" align="center" valign="middle"><span class="postdetails">{topics_list_box.row.REPLIES}</span></td>
      <td class="row3" align="center" valign="middle"><span class="name"><strong>{topics_list_box.row.TOPIC_AUTHOR}</strong></span></td>
      <td class="row2" align="center" valign="middle"><span class="postdetails">{topics_list_box.row.VIEWS}</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_TIME}<br />{topics_list_box.row.LAST_POST_AUTHOR} {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 -->

Cordialement.
Anzu

Anzu
Membre actif

Féminin
Messages : 20685
Inscrit(e) le : 30/08/2007

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

Résolu Re: Colonne en trop dans la liste des sujets

Message par Ellyann Ven 18 Jan 2013 - 10:53

je n'ai qu'une seule chose à dire : Merci Beaucoup Anzu, ça marche du tonnerre ^^

Je clos le topic Smile
avatar

Ellyann
*

Messages : 31
Inscrit(e) le : 27/06/2012

http://sin-dra.forum-invision.com/
Ellyann 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