MyXoops Forum

Forum - myXOOPS German Support

4 - 1 = ?  
Geben Sie das Ergebnis der Berechnung ein
Sie haben max. 10 Versuche.
 
* = Erforderlich

Re: Mehr aktuelle Artikel auf der Startseite anzeigen...

Betreff: Re: Mehr aktuelle Artikel auf der Startseite anzeigen...
von surfman am 17.08.2007 21:52:04

Durch Anpassung des Block-Templates könnte man das vielleicht erreichen.

<{* ************************************** Classical view ************************************** *}>
<
table>
  <{if 
$block.spotlight}>
 <
tr>
    <
td><table>
   <
tr>
      <
td colspan='2'>
        <
table border='0'>
        <
tr><td><img src='<{$block.spotlight.topic_image}>' border='0' alt=''></td><td align='left'><{$block.spotlight.topic_description}></td></tr>
        </
table>
        <
font color="#FF6600"><b><{$block.spotlight.title}></b></font> <{$block.spotlight.author}>
      <{if 
$block.sort=='counter'}>
       (<{
$block.spotlight.hits}>)
     <{elseif 
$block.sort=='published'}>
       (<{
$block.spotlight.date}>)
     <{else}>
        (<{
$block.spotlight.rating}>)
     <{/if}>
     </
td>
   </
tr>
   <
tr>
      <
td><{$block.spotlight.image}></td><td><{$block.spotlight.text}></td>
   </
tr>
   <
tr>
      <
td colspan='2'>
      <{if 
$block.spotlight.read_more}>
       
        <
div style="text-align:right; background-color:F3F4F6;"><a href="<{$xoops_url}>/modules/news/article.php?storyid=<{$block.spotlight.id}>"><{$block.lang_read_more}></a> &nbsp;&nbsp;&nbsp;</div>
        
      <{/if}>
     </
td>
   </
tr>
   </
table></td>
 </
tr>
 <{/if}>
 <
tr>
    <
td>
      <
ul>
        <{foreach 
item=news from=$block.stories}>
         <{if 
$news.id != $block.spotlight.id}>
            <
li>
            <{if 
$block.sort=='counter'}>
             [<{
$news.hits}>]
            <{elseif 
$block.sort=='published'}>
             [<{
$news.date}>]
            <{else}>
              [<{
$news.rating}>]
            <{/if}>
           <
a href="<{$xoops_url}>/modules/news/article.php?storyid=<{$news.id}>" <{$news.infotips}>><{$news.title}></a> <br /><{$news.teaser}></li>
         <{/if}>
       <{/foreach}>
      </
ul>
   </
td>
 </
tr>
</
table>
<{/if}>

Aktuell aus dem Forum

Forum Thema Antworten Views Letzter Beitrag
Modulentwicklung New Xoops Xcreate Module 0 5326 26.11.2025 15:22
efkan Gehe zum letzten Beitrag
Modulentwicklung XOOPS Custom Field Module 1 1813 24.11.2025 11:21
Goffy Gehe zum letzten Beitrag