Widget "News", un problème !

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

Résolu Widget "News", un problème !

Message par julworld Mar 20 Déc 2011 - 15:13

Bonjour,

Je rencontre actuellement un problème avec la création d'un portail. Confused
En effet, je souhaiterais que le widget "News", puisse apparaître dans 2 colonnes.

Voici un schéma (voir surtout les inscriptions en rouges, qui aideront à comprendre):
Widget "News", un problème ! *****

Comme il est indiqué, j'aimerais savoir comment avoir le même fonctionnement qu'offre celui du widget "News",
pour faire apparaître un second widget dans la colonne de droite.

Ou sinon, est-ce possible, que le widget "News", fasse apparaître 2 news côte à côté, sur une dizaine de lignes ?

J'en aurais vraiment besoin, donc si quelqu'un s'y connais mieux que moi,
et / ou a des connaissances en codage pour réaliser ceci, j'aimerais bien de l'aide.

Je vous remerçie d'avance.
Et je vous souhaite par ailleurs, de bonnes fêtes de fin d'année. Smile


Dernière édition par julworld le Mar 27 Déc 2011 - 17:17, édité 2 fois
julworld

julworld
*****

Masculin
Messages : 695
Inscrit(e) le : 03/05/2009

http://prizeefrance.com
julworld a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Widget "News", un problème !

Message par julworld Mer 21 Déc 2011 - 15:01

Bonjour,

Je up. Voici le template par défaut, du widget "News":

Code:
<!-- BEGIN post_row --><!-- BEGIN saut -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
   <tr>
      <td height="2px"></td>
   </tr>
</table><!-- END saut -->
<table class="forumline mod_news" width="100%" border="0" cellspacing="1" cellpadding="0">
   <tr>
      <td class="catLeft" height="25">
         <a name="news_{post_row.ID}"></a><span class="genmed">{post_row.TITLE}</span>
      </td>
   </tr>
   <tr>
      <td class="row2" height="24"><span class="gensmall"><img src="{ICON_TIME}" alt="" />{post_row.TIME} {BY} <b>{post_row.POSTER}</b></span></td>
   </tr>
   <tr>
      <td class="row1">
         <span class="gensmall content" style="line-height:150%">
            {post_row.TEXT}<br /><br />

            <!-- BEGIN switch_attachments -->
            <dl class="attachbox">
               <dt>{post_row.switch_attachments.L_ATTACHMENTS}</dt>
               <dd>
                  <!-- BEGIN switch_post_attachments -->
                  <dl class="file">
                     <dt>
                        <img src="{post_row.switch_attachments.switch_post_attachments.U_IMG}" />

                        <!-- BEGIN switch_dl_att -->
                        <a class="postlink" href="{post_row.switch_attachments.switch_post_attachments.switch_dl_att.U_ATTACHMENT}">{post_row.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT}</a> {post_row.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT_DEL}
                        <!-- END switch_dl_att -->

                        <!-- BEGIN switch_no_dl_att -->
                        {post_row.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT} {post_row.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT_DEL}
                        <!-- END switch_no_dl_att -->
                     </dt>

                     <!-- BEGIN switch_no_comment -->
                     <dd>
                        <em>{post_row.switch_attachments.switch_post_attachments.switch_no_comment.ATTACHMENT_COMMENT}</em>
                     </dd>
                     <!-- END switch_no_comment -->

                     <!-- BEGIN switch_no_dl_att -->
                     <dd>
                        <em><strong>{post_row.switch_attachments.switch_post_attachments.switch_no_dl_att.TEXT_NO_DL}</strong></em>
                     </dd>
                     <!-- END switch_no_dl_att -->

                     <dd>({post_row.switch_attachments.switch_post_attachments.FILE_SIZE}) {post_row.switch_attachments.switch_post_attachments.NB_DL}</dd>
                  </dl>
                  <!-- END switch_post_attachments -->
               </dd>
            </dl>
            <!-- END switch_attachments -->

            {post_row.OPEN}
            <a href="{post_row.U_READ_FULL}">{post_row.L_READ_FULL}</a>
            {post_row.CLOSE}
         </span>
      </td>
   </tr>
   <tr>
      <td class="row3" height="24"><span class="gensmall"><a href="{post_row.U_VIEW_COMMENTS}">{L_COMMENTS}</a>: {post_row.REPLIES}</span></td>
   </tr>
</table><!-- END post_row -->

<!-- BEGIN switch_image_resize -->
<script type="text/javascript">
//<![CDATA[
$(resize_images({ 'selector' : '.mod_news .content', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} }));
//]]>
</script>
<!-- END switch_image_resize -->

Il doit bien y avoir la possibilité, à travers ce template du widget, de pouvoir mettre en place, plusieurs News, côte à côté, au lieu que cela reste dans une seule colonne... Puis-je avoir de l'aide, s'ilvouplaît ? Confused
julworld

julworld
*****

Masculin
Messages : 695
Inscrit(e) le : 03/05/2009

http://prizeefrance.com
julworld a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Widget "News", un problème !

Message par julworld Jeu 22 Déc 2011 - 15:03

Bonjour,

Désolé, je up. J'ai besoin de votre aide.
D'ailleurs, si monsieur lle Père Noël passe par là,
je veux bien un cadeau de sa part, en m'aidant ! Very Happy
julworld

julworld
*****

Masculin
Messages : 695
Inscrit(e) le : 03/05/2009

http://prizeefrance.com
julworld 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