Help - Search - Member List - Calendar
Full Version: Sur le portail (Derniers sujets)
IPBR-FR > Entraide > Forums dédiés aux mods majeures > Portal
Bernard
Bonjour,

Pourriez me dire s'il est possible de faire un scrolling des sujets de bas en haut ou de haut en bas sur ce bloc et si possible comment. unsure.gif



Merci et bonne journée
sticky-fingers
C est tout a fait faisable puisque la version 2.x l'inclu, par contre je l'ai supprimé donc je n'ai plus le code blush.gif
Bernard
QUOTE(sticky-fingers @ mardi 21 juin 2005 à 18:03)
C est tout a fait faisable puisque la version 2.x l'inclu, par contre je l'ai supprimé donc je n'ai plus le code  blush.gif
*




Merci,

Je vais regarder.


Bonne journée
sticky-fingers
Je testais en local d'autres mods, j'en ai profité pour jeter un oeil a ta question wink.gif

En recréant un nouveau skin, voila ce qui doit t'interesser dans skin_portal.php :

QUOTE
//===========================================================================
// tmpl_articles_row
//===========================================================================
function tmpl_articles_row($entry="",$bottom_string="",$top_string="") {
global $ibforums;
$IPBHTML = "";
//--starthtml--//


$IPBHTML .= <<<EOF
<div class="borderwrap">
<table cellspacing="0">
<tr>
  <td class="maintitle" colspan="2"><{CAT_IMG}>&nbsp;<a href="{$ibforums->base_url}showtopic={$entry['tid']}">{$entry['title']}</a></td>
</tr>
<tr>
  <td class="row1" colspan="2">$top_string</td>
</tr>
<tr>
  <td class="post1" width="5%" valign="top">{$entry['avatar']}</td>
  <td class="post1" width="95%" valign="top"><div style="height: 200px; overflow: auto;">{$entry['post']}
  <!--IBF.ATTACHMENT_{$entry['pid']}--></div></td>
</tr>
<tr>
  <td class="row1" colspan="2" align="right">
  $bottom_string
  &nbsp;&nbsp;<a href="{$ibforums->base_url}act=Print&amp;client=printer&amp;f={$entry['forum_id']}&amp;t={$entry['tid']}"><img src='style_images/<#IMG_DIR#>/cs_print.gif' border='0' /></a>
  <a href="{$ibforums->base_url}act=Forward&amp;f={$entry['forum_id']}&amp;t={$entry['tid']}"><img src='style_images/<#IMG_DIR#>/cs_email.gif' border='0' /></a>
  </td>
</tr>
</table>
</div>
<br />
EOF;

//--endhtml--//
return $IPBHTML;
}
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.