Modofitcation d'un template basé sur le théme de subsilver2

Le forum de support de la premod phpBB SEO pour phpBB3.
La premod inclus les trois solution de réécriture d'URL de phpBB SEO ainsi que différents mods d'optimisation du référencement pré-installés.

Modérateur: Modérateurs

Modofitcation d'un template basé sur le théme de subsilver2

Messagede Stryk0ur » Ven Sep 03, 2010 4:13 pm

Salut,

j'ai installé la premod phpBB seo 3.0.7 PL-1 tout est nickel, je voudrai bien savoir c quoi l'interet de changer pas mal de truc a part ceux des metas ( dans le header ), et a part ceux pour GYM Sitemaps & RSS ?

la deuxieme question: j'utilise un template basé sur le theme subsilver2 et j'ai pas trouvé la ligne :
Code: Tout sélectionner
<!-- INCLUDE breadcrumbs.html -->
pour appliquer la modification suivante :

Code: Tout sélectionner
#-----[ OPEN ]------------------------------------------
## MOD Title:       phpBB SEO Related Topics
## MOD Title:       phpBB SEO Ultimate SEO URL
#

styles/subsilver2/template/viewtopic_body.html

#-----[ FIND ]------------------------------------------
#

<!-- INCLUDE breadcrumbs.html -->

#
#-----[ AFTER, ADD ]------------------------------------------
#

<!-- IF S_RELATED_RESULTS --><br clear="all" />
   <table class="tablebg" width="100%" cellspacing="1">
   <tr>
      <td class="cat" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"><span class="nav">{L_RELATED_TOPICS}</span></td>
   </tr>
   <tr>
      <!-- IF S_TOPIC_ICONS -->
         <th colspan="3">&nbsp;{L_TOPICS}&nbsp;</th>
      <!-- ELSE -->
         <th colspan="2">&nbsp;{L_TOPICS}&nbsp;</th>
      <!-- ENDIF -->
      <th>&nbsp;{L_AUTHOR}&nbsp;</th>
      <th>&nbsp;{L_REPLIES}&nbsp;</th>
      <th>&nbsp;{L_VIEWS}&nbsp;</th>
      <th>&nbsp;{L_LAST_POST}&nbsp;</th>
   </tr>
   <!-- BEGIN related -->
      <tr>
         <td class="row1" width="25" align="center">{related.TOPIC_FOLDER_IMG}</td>
         <!-- IF S_TOPIC_ICONS -->
            <td class="row1" width="25" align="center"><!-- IF related.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{related.TOPIC_ICON_IMG}" width="{related.TOPIC_ICON_IMG_WIDTH}" height="{related.TOPIC_ICON_IMG_HEIGHT}" alt="" title="" /><!-- ENDIF --></td>
         <!-- ENDIF -->
         <td class="row1">
            <!-- IF related.S_UNREAD_TOPIC --><a href="{related.U_NEWEST_POST}">{NEWEST_POST_IMG}</a><!-- ENDIF -->
            {related.ATTACH_ICON_IMG} <a title="{L_POSTED}: {related.FIRST_POST_TIME}" href="{related.U_TOPIC}"class="topictitle">{related.TOPIC_TITLE}</a>
            <!-- IF related.S_TOPIC_UNAPPROVED -->
               <a href="{related.U_MCP_QUEUE}">{UNAPPROVED_IMG}</a>&nbsp;
            <!-- ENDIF -->
            <!-- IF related.S_TOPIC_REPORTED -->
               <a href="{related.U_MCP_REPORT}">{REPORTED_IMG}</a>&nbsp;
            <!-- ENDIF -->
            <!-- IF related.PAGINATION -->
               <p class="gensmall"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {related.PAGINATION} ] </p>
            <!-- ENDIF -->
         </td>
         <td class="row2" width="130" align="center"><p class="topicauthor">{related.TOPIC_AUTHOR_FULL}</p></td>
         <td class="row1" width="50" align="center"><p class="topicdetails">{related.REPLIES}</p></td>
         <td class="row2" width="50" align="center"><p class="topicdetails">{related.VIEWS}</p></td>
         <td class="row1" width="140" align="center">
            <p class="topicdetails" style="white-space: nowrap;">{related.LAST_POST_TIME}</p>
            <p class="topicdetails">{related.LAST_POST_AUTHOR_FULL}
               <a href="{related.U_LAST_POST}">{LAST_POST_IMG}</a>
            </p>
         </td>
      </tr>
   <!-- END related -->
   <tr align="center">
      <td class="cat" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->">&nbsp;</td>
   </tr>
   </table>
   <br clear="all" />
<!-- ENDIF -->


don j'ai rien pu ajouter puisque je trouve pas la ligne :(
que dois je faire ?
Stryk0ur
 
Messages: 7
Inscription: Lun Aoû 30, 2010 3:36 am

Publicité

Re: Modofitcation d'un template basé sur le théme de subsilv

Messagede gowap » Dim Sep 05, 2010 4:58 pm

Regarde dans le fichier original de subsilver2 ce qu'il y a autour (avant/apres) de cette ligne
Code: Tout sélectionner
<!-- INCLUDE breadcrumbs.html -->

et essaye de retrouver les memes éléments dans ton theme perso, ca devrait te donner une indication.
En l'occurence, le bout de code que tu cites est la pour afficher les articles en relation, donc en bas de page (si tu ne comptes pas activer les sujets similaires, tu peux carrément laisser tomber cette partie des modifs de theme).
Gravure-News : la communauté francophone de la gravure de CD/DVD et son forum d'entraide.
Avatar de l’utilisateur
gowap
phpBB SEO Team
phpBB SEO Team
 
Messages: 1504
Inscription: Dim Mai 07, 2006 10:56 pm


Retourner vers Premod phpBB SEO

 


  • Articles en relation
    Réponses
    Vus
    Dernier message

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 2 invités