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> </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}>
|