It is currently Wed 28 Sep 2016 - 15:38 - créer un forum

Séparer les sous sous forums de la liste des sujets

Skip to content

Post new topic Reply to topic Goto page: <  1, 2, 311, 12, 13, 14  >

Séparer les sous sous forums de la liste des sujets
Author Message
Mesat





PostPosted: Thu 27 Aug 2009 - 11:31    Post subject: Séparer les sous sous forums de la liste des sujets Reply with quote

PublicitéSupprimer les publicités ?
Previous post review:

Suite au forum http://xooit.xooit.com/t51343-Position-fixe-d-un-Post-it.htm#p428673, je me permets de continuer la discussion ici.
Je vois avoue que je suis encore un novice dans l'utilisation et la modification des templates. Embarassed
Ce topic résume sensiblement ce que je voudrais obtenir. Seulement, je voudrais que les sous-forums se situe en-dessous des topics (j'ai bien essayé de mettre le code en-dessous dans le template mais ça me fait des positionnements assez étranges à l'écran...).

Le but final de ma requête est de pouvoir obtenir un forum dans lequel il y aurait uniquement des sous-forums ET un post-it qui resterait toujours en haut (malgré l'ajout futur de nouveaux sous-forums) pour donner le règlement du forum en question.

Merci d'avance d'éclairer ma lanterne à ce sujet. Le top serait que le Post-it ce trouve dans le même tableau que les sous-forum (mais faut pas trop en demander a dit la dame Very Happy )

Mesat
Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Thu 27 Aug 2009 - 11:32    Post subject: Séparer les sous sous forums de la liste des sujets Reply with quote

bonjour

comme indiqué dans le template viewforum body tu colles ce code
Code: Sélectionner - Agrandir

    <!-- BEGIN catrow -->
    <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
      <tr>
       <th colspan="2" class="thCornerL" height="25" nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>
       <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
       <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>
       <th class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
      </tr>
      <!-- BEGIN forumrow -->
      <tr>
       <td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}"  alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
       <td class="row1" width="100%" height="50">
             <!-- BEGIN switch_ficons -->
             <table style="padding:0;margin:0;" cellspacing="0" cellpadding="0"><tr><td style="width:{FICONSW}px;padding:3px">{catrow.forumrow.FORUM_ICON}</td><td>
             <!-- END switch_ficons -->
             <span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
         </span> <span class="genmed">{catrow.forumrow.FORUM_DESC}
              <!-- BEGIN switch_has_subforums -->
              <br />
              <!-- END switch_has_subforums -->
              <!-- BEGIN subforumrow -->
              <img src="{catrow.forumrow.subforumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.subforumrow.L_FORUM_FOLDER_ALT}" /><b><a href="{catrow.forumrow.subforumrow.U_VIEWFORUM}" class="postlink">{catrow.forumrow.subforumrow.FORUM_NAME}</a></b>
              <!-- END subforumrow -->
              <br />
         </span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span>
              <!-- BEGIN switch_ficons -->
              </td></tr></table>
              <!-- END switch_ficons -->
    </td>
       <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
       <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
       <td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
      </tr>
      <!-- END forumrow -->
    </table>
    <br />
    <!-- END catrow -->


après ce que je t'ai montré dans l'autre message
_______________________


Forum
Author Message
Mesat


Offline
Guest




PostPosted: Thu 27 Aug 2009 - 11:48    Post subject: Séparer les sous sous forums de la liste des sujets Reply with quote

Oui j'ai bien compris ca : je l'ai fait et ca a marché. Mais c'est pas exactement ce que je voudrais...  Embarassed
Je voudrais que les topics se situent au dessus des sous-forums... Mr. Green
Et en bougeant seulement les parties de code, cela créé des erreurs graphiques...


Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Thu 27 Aug 2009 - 11:53    Post subject: Séparer les sous sous forums de la liste des sujets Reply with quote

remplaces ton viewforum body par ça

Code: Sélectionner - Agrandir
<form method="post" action="{S_POST_DAYS_ACTION}">
  <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
   <tr>
     <td align="left" valign="bottom" colspan="2"><a class="maintitle" href="{U_VIEW_FORUM}">{FORUM_NAME}</a><br /><span class="gensmall"><b>{L_MODERATOR}: {MODERATORS}<br /><br />{LOGGED_IN_USER_LIST}</b></span></td>
     <td align="right" valign="bottom" nowrap="nowrap"><span class="gensmall"><b>{PAGINATION}</b></span></td>
   </tr>
   <tr>
     <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
     <td align="left" valign="middle" class="nav" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
     <td align="right" valign="bottom" class="nav" nowrap="nowrap"><span class="gensmall"><a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a></span></td>
   </tr>
  </table>

  <table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">
   <tr>
     <th colspan="2" align="center" height="25" class="thCornerL" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
     <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_REPLIES}&nbsp;</th>
     <th width="100" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_AUTHOR}&nbsp;</th>
     <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_VIEWS}&nbsp;</th>
     <th align="center" class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
   </tr>
   <!-- BEGIN topicrow -->
   <tr>
     <td class="row1" align="center" valign="middle" width="20"><img src="{topicrow.TOPIC_FOLDER_IMG}" width="19" height="18" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /></td>
     <td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />
      {topicrow.GOTO_PAGE}</span></td>
     <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.REPLIES}</span></td>
     <td class="row3" align="center" valign="middle"><span class="name">{topicrow.TOPIC_AUTHOR}</span></td>
     <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.VIEWS}</span></td>
     <td class="row3Right" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
   </tr>
   <!-- END topicrow -->
     
   <!-- BEGIN switch_no_topics -->
   <tr>
     <td class="row1" colspan="6" height="30" align="center" valign="middle"><span class="gen">{L_NO_TOPICS}</span></td>
   </tr>
   <!-- END switch_no_topics -->
   <tr>
     <td class="catBottom" align="center" valign="middle" colspan="6" height="28"><span class="genmed">{L_DISPLAY_TOPICS}:&nbsp;{S_SELECT_TOPIC_DAYS}&nbsp;
      <input type="submit" class="liteoption" value="{L_GO}" name="submit" />
      </span></td>
   </tr>
  </table>

<!-- BEGIN catrow -->
    <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
      <tr>
       <th colspan="2" class="thCornerL" height="25" nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>
       <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
       <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>
       <th class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
      </tr>
      <!-- BEGIN forumrow -->
      <tr>
       <td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}"  alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
       <td class="row1" width="100%" height="50">
             <!-- BEGIN switch_ficons -->
             <table style="padding:0;margin:0;" cellspacing="0" cellpadding="0"><tr><td style="width:{FICONSW}px;padding:3px">{catrow.forumrow.FORUM_ICON}</td><td>
             <!-- END switch_ficons -->
             <span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
         </span> <span class="genmed">{catrow.forumrow.FORUM_DESC}
              <!-- BEGIN switch_has_subforums -->
              <br />
              <!-- END switch_has_subforums -->
              <!-- BEGIN subforumrow -->
              <img src="{catrow.forumrow.subforumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.subforumrow.L_FORUM_FOLDER_ALT}" /><b><a href="{catrow.forumrow.subforumrow.U_VIEWFORUM}" class="postlink">{catrow.forumrow.subforumrow.FORUM_NAME}</a></b>
              <!-- END subforumrow -->
              <br />
         </span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span>
              <!-- BEGIN switch_ficons -->
              </td></tr></table>
              <!-- END switch_ficons -->
    </td>
       <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
       <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
       <td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
      </tr>
      <!-- END forumrow -->
    </table>
    <br />
    <!-- END catrow -->
   
  <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
   <tr>
     <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
     <td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
     <td align="right" valign="middle" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span>
      </td>
   </tr>
   <tr>
     <td align="left" colspan="3"><span class="nav">{PAGE_NUMBER}</span></td>
   </tr>
  </table>
</form>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
   <td align="right">{JUMPBOX}</td>
  </tr>
</table>

<table width="100%" cellspacing="0" border="0" align="center" cellpadding="0">
   <tr>
      <td align="left" valign="top"><table cellspacing="3" cellpadding="0" border="0">
         <tr>
            <td width="20" align="left"><img src="{FOLDER_NEW_IMG}" alt="{L_NEW_POSTS}" width="19" height="18" /></td>
            <td class="gensmall">{L_NEW_POSTS}</td>
            <td>&nbsp;&nbsp;</td>
            <td width="20" align="center"><img src="{FOLDER_IMG}" alt="{L_NO_NEW_POSTS}" width="19" height="18" /></td>
            <td class="gensmall">{L_NO_NEW_POSTS}</td>
            <td>&nbsp;&nbsp;</td>
            <td width="20" align="center"><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_ANNOUNCEMENT}" width="19" height="18" /></td>
            <td class="gensmall">{L_ANNOUNCEMENT}</td>
         </tr>
         <tr>
            <td width="20" align="center"><img src="{FOLDER_HOT_NEW_IMG}" alt="{L_NEW_POSTS_HOT}" width="19" height="18" /></td>
            <td class="gensmall">{L_NEW_POSTS_HOT}</td>
            <td>&nbsp;&nbsp;</td>
            <td width="20" align="center"><img src="{FOLDER_HOT_IMG}" alt="{L_NO_NEW_POSTS_HOT}" width="19" height="18" /></td>
            <td class="gensmall">{L_NO_NEW_POSTS_HOT}</td>
            <td>&nbsp;&nbsp;</td>
            <td width="20" align="center"><img src="{FOLDER_STICKY_IMG}" alt="{L_STICKY}" width="19" height="18" /></td>
            <td class="gensmall">{L_STICKY}</td>
         </tr>
         <tr>
            <td class="gensmall"><img src="{FOLDER_LOCKED_NEW_IMG}" alt="{L_NEW_POSTS_LOCKED}" width="19" height="18" /></td>
            <td class="gensmall">{L_NEW_POSTS_LOCKED}</td>
            <td>&nbsp;&nbsp;</td>
            <td class="gensmall"><img src="{FOLDER_LOCKED_IMG}" alt="{L_NO_NEW_POSTS_LOCKED}" width="19" height="18" /></td>
            <td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td>
         </tr>
      </table></td>
      <td align="right"><span class="gensmall">{S_AUTH_LIST}</span></td>
   </tr>
</table>



je n'ai pas de soucis graphique
_______________________


Forum
Author Message
Mesat


Offline
Guest




PostPosted: Thu 27 Aug 2009 - 12:11    Post subject: Séparer les sous sous forums de la liste des sujets Reply with quote

Erf... Merci beaucoup.
Je vais chercher ce que j'ai mal fait... Sad
En tout cas, félicitations à toi themalin pour toute l'aide que tu fournis aux débutants (comme moi innocent )

Mesat


Author Message
Mesat


Offline
Guest




PostPosted: Thu 27 Aug 2009 - 13:12    Post subject: Séparer les sous sous forums de la liste des sujets Reply with quote

Je suis finalement arrivé à mes fins.
Voici le résultat :



Et le fichier viewforum_body associé :

Code: Sélectionner - Agrandir

    <form method="post" action="{S_POST_DAYS_ACTION}">
      <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
       <tr>
         <td align="left" valign="bottom" colspan="2"><a class="maintitle" href="{U_VIEW_FORUM}">{FORUM_NAME}</a><br /><span class="gensmall"><b>{L_MODERATOR}: {MODERATORS}<br /><br />{LOGGED_IN_USER_LIST}</b></span></td>
         <td align="right" valign="bottom" nowrap="nowrap"><span class="gensmall"><b>{PAGINATION}</b></span></td>
       </tr>
       <tr>
         <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
         <td align="left" valign="middle" class="nav" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
         <td align="right" valign="bottom" class="nav" nowrap="nowrap"><span class="gensmall"><a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a></span></td>
       </tr>
      </table>

      <table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">
       <tr>
         <th colspan="2" align="center" height="25" class="thCornerL" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
         <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_REPLIES}&nbsp;</th>
         <th width="100" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_AUTHOR}&nbsp;</th>
         <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_VIEWS}&nbsp;</th>
         <th align="center" class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
       </tr>
       <!-- BEGIN topicrow -->
       <tr>
         <td class="row1" align="center" valign="middle" width="20"><img src="{topicrow.TOPIC_FOLDER_IMG}" width="19" height="18" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /></td>
         <td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />
          {topicrow.GOTO_PAGE}</span></td>
         <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.REPLIES}</span></td>
         <td class="row3" align="center" valign="middle"><span class="name">{topicrow.TOPIC_AUTHOR}</span></td>
         <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.VIEWS}</span></td>
         <td class="row3Right" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
       </tr>
       <!-- END topicrow -->
<tr>
         <th colspan="2" align="center" height="25" class="thCornerL" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
         <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_REPLIES}&nbsp;</th>
         <th width="100" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_AUTHOR}&nbsp;</th>
         <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_VIEWS}&nbsp;</th>
         <th align="center" class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
       </tr>
    <!-- BEGIN catrow -->
          <!-- BEGIN forumrow -->
          <tr>
           <td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}"  alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
           <td class="row1" width="100%" height="50">
                 <!-- BEGIN switch_ficons -->
                 <table style="padding:0;margin:0;" cellspacing="0" cellpadding="0"><tr><td style="width:{FICONSW}px;padding:3px">{catrow.forumrow.FORUM_ICON}</td><td>
                 <!-- END switch_ficons -->
                 <span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
             </span> <span class="genmed">{catrow.forumrow.FORUM_DESC}
                  <!-- BEGIN switch_has_subforums -->
                  <br />
                  <!-- END switch_has_subforums -->
                  <!-- BEGIN subforumrow -->
                  <img src="{catrow.forumrow.subforumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.subforumrow.L_FORUM_FOLDER_ALT}" /><b><a href="{catrow.forumrow.subforumrow.U_VIEWFORUM}" class="postlink">{catrow.forumrow.subforumrow.FORUM_NAME}</a></b>
                  <!-- END subforumrow -->
                  <br />
             </span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span>
                  <!-- BEGIN switch_ficons -->
                  </td></tr></table>
                  <!-- END switch_ficons -->
        </td>
           <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
           <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPIC_AUTHOR}</span></td>
           <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
           <td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
          </tr>
          <!-- END forumrow -->
        </table>
        <br />
        <!-- END catrow -->
       
      <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
       <tr>
         <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
         <td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
         <td align="right" valign="middle" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span>
          </td>
       </tr>
       <tr>
         <td align="left" colspan="3"><span class="nav">{PAGE_NUMBER}</span></td>
       </tr>
      </table>
    </form>

    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
       <td align="right">{JUMPBOX}</td>
      </tr>
    </table>

    <table width="100%" cellspacing="0" border="0" align="center" cellpadding="0">
       <tr>
          <td align="left" valign="top"><table cellspacing="3" cellpadding="0" border="0">
             <tr>
                <td width="20" align="left"><img src="{FOLDER_NEW_IMG}" alt="{L_NEW_POSTS}" width="19" height="18" /></td>
                <td class="gensmall">{L_NEW_POSTS}</td>
                <td>&nbsp;&nbsp;</td>
                <td width="20" align="center"><img src="{FOLDER_IMG}" alt="{L_NO_NEW_POSTS}" width="19" height="18" /></td>
                <td class="gensmall">{L_NO_NEW_POSTS}</td>
                <td>&nbsp;&nbsp;</td>
                <td width="20" align="center"><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_ANNOUNCEMENT}" width="19" height="18" /></td>
                <td class="gensmall">{L_ANNOUNCEMENT}</td>
             </tr>
             <tr>
                <td width="20" align="center"><img src="{FOLDER_HOT_NEW_IMG}" alt="{L_NEW_POSTS_HOT}" width="19" height="18" /></td>
                <td class="gensmall">{L_NEW_POSTS_HOT}</td>
                <td>&nbsp;&nbsp;</td>
                <td width="20" align="center"><img src="{FOLDER_HOT_IMG}" alt="{L_NO_NEW_POSTS_HOT}" width="19" height="18" /></td>
                <td class="gensmall">{L_NO_NEW_POSTS_HOT}</td>
                <td>&nbsp;&nbsp;</td>
                <td width="20" align="center"><img src="{FOLDER_STICKY_IMG}" alt="{L_STICKY}" width="19" height="18" /></td>
                <td class="gensmall">{L_STICKY}</td>
             </tr>
             <tr>
                <td class="gensmall"><img src="{FOLDER_LOCKED_NEW_IMG}" alt="{L_NEW_POSTS_LOCKED}" width="19" height="18" /></td>
                <td class="gensmall">{L_NEW_POSTS_LOCKED}</td>
                <td>&nbsp;&nbsp;</td>
                <td class="gensmall"><img src="{FOLDER_LOCKED_IMG}" alt="{L_NO_NEW_POSTS_LOCKED}" width="19" height="18" /></td>
                <td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td>
             </tr>
          </table></td>
          <td align="right"><span class="gensmall">{S_AUTH_LIST}</span></td>
       </tr>
    </table>


Merci encore à themalin et à Xooit Wink


Author Message
momodu59


Offline
Guest




PostPosted: Tue 1 Sep 2009 - 17:50    Post subject: Séparer les sous sous forums de la liste des sujets Reply with quote

Moi j'aimerais mettre une description sous mes sous sous forum mais elle ne s'affiche pas, j'avais le nom des sous sous forum sous mes sous forum, je l'ai est retiré et depuis la description est également repartie, que dois-je faire pour afficher la description tout en ne voyant pas les sous sous forum juste en dessous ?   

Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Tue 1 Sep 2009 - 17:52    Post subject: Séparer les sous sous forums de la liste des sujets Reply with quote

bonjour

il suffit de placer le code comme indiqué dans le template viewforum body
Code: Sélectionner - Agrandir

    <!-- BEGIN catrow -->
    <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
      <tr>
       <th colspan="2" class="thCornerL" height="25" nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>
       <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
       <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>
       <th class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
      </tr>
      <!-- BEGIN forumrow -->
      <tr>
       <td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}"  alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
       <td class="row1" width="100%" height="50">
             <!-- BEGIN switch_ficons -->
             <table style="padding:0;margin:0;" cellspacing="0" cellpadding="0"><tr><td style="width:{FICONSW}px;padding:3px">{catrow.forumrow.FORUM_ICON}</td><td>
             <!-- END switch_ficons -->
             <span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
         </span> <span class="genmed">{catrow.forumrow.FORUM_DESC}
              <!-- BEGIN switch_has_subforums -->
              <br />
              <!-- END switch_has_subforums -->
              <!-- BEGIN subforumrow -->
              <img src="{catrow.forumrow.subforumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.subforumrow.L_FORUM_FOLDER_ALT}" /><b><a href="{catrow.forumrow.subforumrow.U_VIEWFORUM}" class="postlink">{catrow.forumrow.subforumrow.FORUM_NAME}</a></b>
              <!-- END subforumrow -->
              <br />
         </span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span>
              <!-- BEGIN switch_ficons -->
              </td></tr></table>
              <!-- END switch_ficons -->
    </td>
       <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
       <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
       <td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
      </tr>
      <!-- END forumrow -->
    </table>
    <br />
    <!-- END catrow -->

_______________________


Forum
Author Message
momodu59


Offline
Guest




PostPosted: Tue 1 Sep 2009 - 18:01    Post subject: Séparer les sous sous forums de la liste des sujets Reply with quote

Ca ne marche pas, tout mes icônes des sous forums ont disparus : http://footforum.xooit.fr/f16-Premier-League.htm 

Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Tue 1 Sep 2009 - 18:03    Post subject: Séparer les sous sous forums de la liste des sujets Reply with quote

c'est bizarre car tu as bien les icones avec ce code
tu peux mettre tout ton template view forum body pour voir ici entre les balises code
_______________________


Forum
Author Message
momodu59


Offline
Guest




PostPosted: Tue 1 Sep 2009 - 18:09    Post subject: Séparer les sous sous forums de la liste des sujets Reply with quote

Voici mon code :

 
Code: Sélectionner - Agrandir
<script language="Javascript" type="text/javascript">
    <!--
    imprim = 0;
    -->
    </script>
    <script language="Javascript" type="text/javascript">
    <!--
    function teststicky(annonce){
    var elems=document.getElementsByTagName('img');
    var issticky=false;
    for(var i=0;i<elems.length;i++){
    if(elems.src.search(/(announce|sticky)/g) < 0) continue;
    issticky=true;
    break;
    }
    if (issticky == true) {
    document.write('<tr><th colspan="7" align="center" height="25" class="thCornerL" nowrap="nowrap">&nbsp;Sujets&nbsp;</th></tr>');
    imprim = 1;
    }
    }
    -->
    </script>
    <form method="post" action="{S_POST_DAYS_ACTION}">
      <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
       <tr>
         <td align="left" valign="bottom" colspan="2">[url=http://%7bu_view_forum%7d/]{FORUM_NAME}[/url]
</span><span class="gensmall">{LOGGED_IN_USER_LIST}[/b]</span></td>
         <td align="right" valign="bottom" nowrap="nowrap"><span class="gensmall">[b]{PAGINATION}[/b]</span></td>
       </tr>
       <tr>
         <td align="left" valign="middle" width="50">[url=http://%7bu_post_new_topic%7d/][img]http://%7bpost_img%7d/[/img][/url]</td>
         <td align="left" valign="middle" class="nav" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;[url=http://%7bu_index%7d/]{L_INDEX}[/url] -> [url=http://%7bu_view_forum%7d/]{FORUM_NAME}[/url]</span></td>
         <td align="right" valign="bottom" class="nav" nowrap="nowrap"><span class="gensmall">[url=http://%7bu_mark_read%7d/]{L_MARK_TOPICS_READ}[/url]</span></td>
       </tr>
      </table>
     
    <!-- BEGIN catrow -->
    <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
      <tr>
       <th colspan="2" class="thCornerL" height="25" nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>
       <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
       <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>
       <th class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
      </tr>
      <!-- BEGIN forumrow -->
      <tr>
       <td class="row1" align="center" valign="middle" height="50">[img]http://%7bcatrow.forumrow.forum_folder_img%7d/[/img]</td>
       <td class="row1" width="100%" height="50">
             <!-- BEGIN switch_ficons -->
             <table style="padding:0;margin:0;" cellspacing="0" cellpadding="0"><tr><td style="width:{FICONSW}px;padding:3px">{catrow.forumrow.FORUM_ICON}</td><td>
             <!-- END switch_ficons -->
             <span class="forumlink"> [url=http://%7bcatrow.forumrow.u_viewforum%7d/]{catrow.forumrow.FORUM_NAME}[/url]

         </span> <span class="genmed">{catrow.forumrow.FORUM_DESC}
              <!-- BEGIN switch_has_subforums -->
             

              <!-- END switch_has_subforums -->
              <!-- BEGIN subforumrow -->
              [img]http://%7bcatrow.forumrow.subforumrow.forum_folder_img%7d/[/img][b][url=http://%7bcatrow.forumrow.subforumrow.u_viewforum%7d/]{catrow.forumrow.subforumrow.FORUM_NAME}[/url][/b]
              <!-- END subforumrow -->
             

         </span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span>
              <!-- BEGIN switch_ficons -->
              </td></tr></table>
              <!-- END switch_ficons -->
    </td>
       <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
       <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
       <td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
      </tr>
      <!-- END forumrow -->
    </table>
   

    <!-- END catrow -->
<table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">
       <tr>
         <th colspan="3" align="center" height="25" class="thCornerL" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
         <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_REPLIES}&nbsp;</th>
         <th width="100" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_AUTHOR}&nbsp;</th>
         <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_VIEWS}&nbsp;</th>
         <th align="center" class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
       </tr>
       <!-- BEGIN topicrow -->

    <script language="Javascript" type="text/javascript">
<!--
annonce = 0;
monreg = /(folder-|folder_n|folder_h|folder_l)/g;
zone = "{topicrow.TOPIC_FOLDER_IMG}";
if (monreg.test(zone)) {
annonce = 1;
}
if (imprim == 0 && annonce == 1) {
teststicky(annonce);
}
-->
</script>

    <script language="Javascript" type="text/javascript">
    <!--
    annonce = 0;
    monreg = /(folder-|folder_n|folder_h|folder_l)/g;
    zone = "{topicrow.TOPIC_FOLDER_IMG}";
    if (monreg.test(zone)) {
    annonce = 1;
    }
    if (imprim == 0 && annonce == 1) {
    teststicky(annonce);
    }
    -->
    </script>

       <tr>
         <td class="row1" align="center" valign="middle" width="20">[img]http://%7btopicrow.topic_folder_img%7d/[/img]</td> <td class="row1" align="center" valign="middle" width="20">{topicrow.TOPIC_ICON}</td> <td class="row1" width="100%"><span class="topictype">{topicrow.NEWEST_POST_IMG}</span><span class="topictitle"><!-- IF topicrow.TOPIC_TYPE == "[b][ Sondage ][/b] " -->
Sondage : <!-- ENDIF -->[url=http://%7btopicrow.u_view_topic%7d/]{topicrow.TOPIC_TITLE}[/url]</span><span class="gensmall">

          </span></td>
         <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.REPLIES}</span></td>
         <td class="row3" align="center" valign="middle"><span class="name">{topicrow.TOPIC_AUTHOR}</span></td>
         <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.VIEWS}</span></td>
         <td class="row3Right" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}
{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
       </tr>
       <!-- END topicrow -->
       <!-- BEGIN switch_no_topics -->
       <tr>
         <td class="row1" colspan="6" height="30" align="center" valign="middle"><span class="gen">{L_NO_TOPICS}</span></td>
       </tr>
       <!-- END switch_no_topics -->
       <tr>
         <td class="catBottom" align="center" valign="middle" colspan="7" height="28"><span class="genmed">{L_DISPLAY_TOPICS}:&nbsp;{S_SELECT_TOPIC_DAYS}&nbsp;
          <input type="submit" class="liteoption" value="{L_GO}" name="submit" />
          </span></td>
       </tr>
      </table>

      <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
       <tr>
         <td align="left" valign="middle" width="50">[url=http://%7bu_post_new_topic%7d/][img]http://%7bpost_img%7d/[/img][/url]</td>
         <td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;[url=http://%7bu_index%7d/]{L_INDEX}[/url] -> [url=http://%7bu_view_forum%7d/]{FORUM_NAME}[/url]</span></td>
         <td align="right" valign="middle" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span>
<span class="nav">{PAGINATION}</span>
          </td>
       </tr>
       <tr>
         <td align="left" colspan="3"><span class="nav">{PAGE_NUMBER}</span></td>
       </tr>
      </table>
    </form>

    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
       <td align="right">{JUMPBOX}</td>
      </tr>
    <tr>
    <td align="right"><span class="gensmall">{S_AUTH_LIST}</span></td>
    </tr>
    </table>

        <table width="100%" cellspacing="0" border="0" align="center" cellpadding="0">
           <tr>
              <td align="left" valign="top"><table cellspacing="3" cellpadding="0" border="0">
                 <tr>
                    <td width="20" align="center">[img]http://%7bfolder_new_img%7d/[/img]</td>
                    <td class="gensmall">{L_NEW_POSTS}</td>
                    <td>&nbsp;&nbsp;</td>
                    <td width="20" align="center">[img]http://%7bfolder_img%7d/[/img]</td>
                    <td class="gensmall">{L_NO_NEW_POSTS}</td>
                    <td>&nbsp;&nbsp;</td>
                    <td width="20" align="center">[img]http://%7bfolder_announce_img%7d/[/img]</td>
                    <td class="gensmall">{L_ANNOUNCEMENT}</td>
                 </tr>
                 <tr>
                    <td width="20" align="center">[img]http://%7bfolder_locked_new_img%7d/[/img]</td>
                    <td class="gensmall">{L_NEW_POSTS_LOCKED}</td>
                    <td>&nbsp;&nbsp;</td>
                    <td width="20" align="center">[img]http://%7bfolder_locked_img%7d/[/img]</td>
                    <td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td>
                    <td>&nbsp;&nbsp;</td>
                    <td width="20" align="center">[img]http://%7bfolder_sticky_img%7d/[/img]</td>
                    <td class="gensmall">{L_STICKY}</td>
                 </tr>
              </table></td>
              <td align="right"><span class="gensmall">{S_AUTH_LIST}</span></td>
           </tr>
        </table>



Last edited by momodu59 on Tue 1 Sep 2009 - 18:11; edited 1 time in total
Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Tue 1 Sep 2009 - 18:10    Post subject: Séparer les sous sous forums de la liste des sujets Reply with quote

mets le template comme ça sinon on ne peut rien faire avec

reprends celui du forum sinon on aura du bbcode et ça ne marchera pas

http://xooit.xooit.com/t40996-Poster-le-contenu-d-un-template.htm

sinon en regardant ton forum on en voit pas l'activation des icones de sous forum

dans panneau admin
sous forum
activer les icones de sous forum est ce que tu as bien oui?

_______________________


Forum
Author Message
momodu59


Offline
Guest




PostPosted: Tue 1 Sep 2009 - 18:21    Post subject: Séparer les sous sous forums de la liste des sujets Reply with quote

Je pense que je vais laisser comme ça, j'ai peur de "bouzillez" mon forum . Merci pour ton aide

Author Message
Yanizuka


Offline
Guest




PostPosted: Mon 28 Sep 2009 - 12:13    Post subject: Séparer les sous sous forums de la liste des sujets Reply with quote

Sujet de base : http://xooit.xooit.com/t52317-Masquer-des-sous-sous-categories-dans-les-sou…

J'aimerai donc enlever complètement l'affichage des soussous forum dans les sous forum et donc n'avoir de lien pour ceux ci que sur la page d'accueil du forum !

J'ai testé ton code Themalin mais ca ma simplement déplacé le sous sous forum dans le sous forum. cf: http://riders-lorraine-team.xooit.fr/f7-propositions-de-ballade.htm

Merci d'avance !


Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Mon 28 Sep 2009 - 12:31    Post subject: Séparer les sous sous forums de la liste des sujets Reply with quote

mets juste ça
Code: Sélectionner - Agrandir

    <!-- BEGIN catrow -->
     
          <!-- BEGIN forumrow -->
       
       
          <!-- END forumrow -->
     
        <!-- END catrow -->

_______________________


Forum
Author Message
Yanizuka


Offline
Guest




PostPosted: Mon 28 Sep 2009 - 12:41    Post subject: Séparer les sous sous forums de la liste des sujets Reply with quote

Ca marche ! Merci à toi !  Very Happy

Par contre ca ma décaler l'icône nouveau topic :

http://riders-lorraine-team.xooit.fr/f7-propositions-de-ballade.htm

EDIT : A non enfaite le logo nouveau topic été déjà comme ca... pas moyen de le mettre à droite ? Désolé du HS !


Author Message
Contenu Sponsorisé





PostPosted: Today at 15:38    Post subject: Séparer les sous sous forums de la liste des sujets

Display posts from previous:   
Reply to topic Page 12 of 14 Goto page: <  1, 2, 311, 12, 13, 14  >




Portal | Index | Administration Panel | Create a forum | Free support forum | Free forums directory | Report a violation | Conditions générales d'utilisation
Propulsé par p h p B B © 2016 p h p B B Group |
 
© 2003-2013 Xooit.com - Contact - Mentions légales - CGU - Charte - CNIL : 1381401