|
|||
|
Hallo zusammen,
ich habe folgendes Problem bei der Kategorie-Übersicht. Ich habe die categorie_listing so bearbeitet wie ich sie gern hätte. Allerdings wird diese tatsächlich auch nur so ausgegeben, wenn die jeweilige Kategorie Unterkategorien besitzt. Gibt es keine Unterkategorien ist das Kategorie bild zum Beispiel unter der Kategoriebeschreibung. Gibt es Unterkategorien ist das Bild Ganz oben, so wie ich es gern hätte. Hier mal mein Quelltext: Code:
{config_load file="$language/lang_$language.conf" section="categorie_listing"}
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
<td class="main"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top">
<td align="center">{if $CATEGORIES_IMAGE}<img src="{$CATEGORIES_IMAGE}" alt="{$CATEGORIES_IMAGE}" />{/if}</td>
</tr>
<tr valign="top">
<td class="cat_center"><b>{$CATEGORIES_NAME} - {$CATEGORIES_HEADING_TITLE}</b></td>
</tr>
<tr>
<td class="cat_bottom">{if $CATEGORIES_DESCRIPTION}
{$CATEGORIES_DESCRIPTION}{/if}
</td>
</tr>
</table>
<br />
<br />
</tr>
</table>
<table>
<tr><td>
<table width="100%">
<tr>
<td class="infoBoxHeading">{if $module_content !=''} <strong>{#heading_more_categories#}</strong></td>
</tr>
</table>
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr> {foreach name=aussen item=module_data from=$module_content}
{php}
$col++;
{/php}
<td class="main"><table width="100%" border="0" cellpadding="0" cellspacing="4">
<tr>
<td align="center" >{if $module_data.CATEGORIES_IMAGE}<a href="{$module_data.CATEGORIES_LINK}"><img src="{$module_data.CATEGORIES_IMAGE}" alt="{$module_data.CATEGORIES_NAME}" /></a>{/if}</td>
</tr>
<tr>
<td align="center" ><strong><a href="{$module_data.CATEGORIES_LINK}">{$module_data.CATEGORIES_NAME}</a></strong></td>
</tr>
<tr>
<td align="center" >{$module_data.CATEGORIES_DESCRIPTION}</td>
</tr>
</table>
</td>
{php}
if ($col>=3) {
$col=0;
echo '</tr><tr>';
}
{/php}
{/foreach} </tr>
</table>
{/if} <br />
</td>
<td class="main"> </td>
</tr>
</table>
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>{$MODULE_new_products}</td>
</tr>
</table>
MfG Björn |
![]() |
| Lesezeichen |
| Stichworte |
| kategorieübersicht |
| Themen-Optionen | |
| Ansicht | |
|
|
Ähnliche Themen
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| Unterkategorie statt Kategorie anzeigen | b.s.e.k | Template System | 6 | 13.04.2010 11:49 |
| Kategorie aufklappen ja, hersteller übersicht anzeigen nein ;-) | 22teevo | Installation und Konfiguration | 2 | 11.09.2007 13:11 |