|
|||
|
Hallo
Ich bin neu hier und muss sagen dass der Shop Spitze ist, selbst ohne Programmierkenntnisse kommt man sehr weit. Nur steh ich jetzt vor meinem ersten Problem: Wie mache ich es das der Unterkategorienname unter einem Bild steht nicht rechts davon? Danke schon mal im Voraus |
|
||||
|
templates/deintemplate/module/categorie_listing/categorie_listing.html
Code:
{if $CATEGORIES_IMAGE}<img src="{$CATEGORIES_IMAGE}">{/if}
__________________
dieser beitrag ist ohne gewähr und stellt nur meine meinung und keinesfalls eine rechtsberatung dar. im zweifelsfalle ist er ironisch gemeint. .:netzdesign33.de:. | .:blog33.de:. |
|
||||
|
wysiwyg modus abschalten und im quelltext arbeiten, wahrscheinlich ziehst du immer nur das img mittels drag&drop hin und her. falls du das original tpl verwendest solltest du recht weit oben folgendes finden:
Code:
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top">
<td><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><strong><font color="#666666" size="4">{$CATEGORIES_NAME}</font></strong>
</font></td>
<td align="right">{if $CATEGORIES_IMAGE}<img src="{$CATEGORIES_IMAGE}">{/if}</td>
</tr>
</table>
Code:
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top">
<td>{if $CATEGORIES_IMAGE}<img src="{$CATEGORIES_IMAGE}">{/if} <br>
<font face="Verdana, Arial, Helvetica, sans-serif" color="#666666" size="4"><strong>{$CATEGORIES_NAME}</font></strong>
</td>
</tr>
</table>
__________________
dieser beitrag ist ohne gewähr und stellt nur meine meinung und keinesfalls eine rechtsberatung dar. im zweifelsfalle ist er ironisch gemeint. .:netzdesign33.de:. | .:blog33.de:. |
|
|||
|
Ich bin am verzweifeln so sieht der code jetzt aus:
Code:
{config_load file="$language/lang_$language.conf" section="categorie_listing"}
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top">
<td align="right">{if $CATEGORIES_IMAGE}<img src="{$CATEGORIES_IMAGE}">{/if}</td>
<td class="category">{$CATEGORIES_NAME}</td>
</tr>
</table>
{if $CATEGORIES_DESCRIPTION}
<div class="infobox">{$CATEGORIES_DESCRIPTION}</div>
<br>
<br>
{/if}
{if $module_content !=''} <div class="subcategory">{#heading_more_categories#}</div>
<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">
<div align="left">
<table width="100%" border="0" cellpadding="0" cellspacing="4">
<tr>
<td width="1" rowspan="2" >{if $module_data.CATEGORIES_IMAGE}<a href="{$module_data.CATEGORIES_LINK}"><img src="{$module_data.CATEGORIES_IMAGE}" border="0"></a>{/if}</td>
<td class="main"><strong><a href="{$module_data.CATEGORIES_LINK}">{$module_data.CATEGORIES_NAME}</a></strong></td>
</tr>
<tr>
<td class="main">{$module_data.CATEGORIES_DESCRIPTION}</td>
</tr>
</table>
</div>
</td>
{php}
if ($col>=2) {
$col=0;
echo '</tr><tr>';
}
{/php}
{/foreach}
</tr>
</table>
{/if} <br>
</td>
<td class="main" nowrap width="1%"> </td>
</tr>
</table>
<br>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>{$MODULE_new_products}</td>
</tr>
</table>
|
|
|||
|
|
|
||||
|
so besser ?
Code:
{config_load file="$language/lang_$language.conf" section="categorie_listing"}
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top">
<td align="right">{if $CATEGORIES_IMAGE}<img src="{$CATEGORIES_IMAGE}">{/if}</td>
<td class="category">{$CATEGORIES_NAME}</td>
</tr>
</table>
{if $CATEGORIES_DESCRIPTION}
<div class="infobox">{$CATEGORIES_DESCRIPTION}</div>
<br>
<br>
{/if}
{if $module_content !=''} <div class="subcategory">{#heading_more_categories#}</div>
<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">
<div align="left">
<table width="100%" border="0" cellpadding="0" cellspacing="4">
<tr>
<td class="main"><strong><a href="{$module_data.CATEGORIES_LINK}">»{$module_data.CATEGORIES_NAME}</a></strong><br>
{if $module_data.CATEGORIES_IMAGE}<a href="{$module_data.CATEGORIES_LINK}"><img src="{$module_data.CATEGORIES_IMAGE}" border="0"></a>{/if}</td>
<td class="main">{$module_data.CATEGORIES_DESCRIPTION}</td>
</tr>
</table>
</div>
</td>
{php}
if ($col>=2) {
$col=0;
echo '</tr><tr>';
}
{/php}
{/foreach}
</tr>
</table>
{/if} <br>
</td>
<td class="main" nowrap width="1%"> </td>
</tr>
</table>
<br>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>{$MODULE_new_products}</td>
</tr>
</table>
__________________
dieser beitrag ist ohne gewähr und stellt nur meine meinung und keinesfalls eine rechtsberatung dar. im zweifelsfalle ist er ironisch gemeint. .:netzdesign33.de:. | .:blog33.de:. |
![]() |
| Lesezeichen |
| Stichworte |
| bild, unterkategorienname |
| Themen-Optionen | |
| Ansicht | |
|
|