MyXoops Forum

Forum - myXOOPS German Support

9 + 9 = ?  
Geben Sie das Ergebnis der Berechnung ein
Sie haben max. 10 Versuche.
 
* = Erforderlich

Top News, Themenbild

Betreff: Top News, Themenbild
von Peter am 05.04.2007 16:47:48

Hi,
Das template zum topnews block sieht ja wie folgt aus:

<table width="100%">
<tr>
<td>
<img src='<{$block.spotlight.topic_image}>' alt='' hspace="3" border='0' align="left">
<font color="#FF6600">
<b><{$block.spotlight.title}></b></font><br /> <br />
<{$block.spotlight.image}><{$block.spotlight.text}><{if $block.spotlight.read_more}> &nbsp;&nbsp;&nbsp; <a href="<{$xoops_url}>/modules/news/article.php?storyid=<{$block.spotlight.id}>"><{$block.lang_read_more}></a>
&nbsp;&nbsp;&nbsp; <{/if}>
</td>
</tr>
</table>


Wie bekomme ich es hin, dass
{$block.spotlight.topic_image}
nur dann geladen wird, wenn {$block.spotlight.image}
leer ist? Ich kenne die "if" Syntax der templatesprache noch nicht so.

Danke für eure Hilfe.
Gruss Peter

Aktuell aus dem Forum

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