am: 11. September 2012, 15:20:47
Hallo Leute,
nach langer Zeit hats mich mal wieder zu euch gespühlt.
Ich hab ein Problem wo ich mich grade daran aufhänge.
Also ich möchte wie auf dem Bild zusehen die Lieferzeit wie in dem Modul oben auch in dem unteren Modul angezeigt bekommen.
[ Für Gäste sind keine Dateianhänge sichtbar ]
Ich war eben in der entsprechenden HTML von dem Modul drin und da ist eigentlich alles genau gleich. Sprich ich komm nicht drauf warum die Lieferzeit unten nicht angezeigt werden sollte.
Der Code zum oberen Modul
{config_load file="$language/lang_$language.conf" section="new_products"}
{config_load file="$language/lang_$language.conf" section="index"}
<h1>{#heading_text#}</h1>
<table class="productPreview" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
{php}$column = 1;{/php}
{foreach name=aussen item=module_data from=$module_content}
<td align="center" class="productPreviewImage" height="100%">
{if $module_data.PRODUCTS_IMAGE!=''}
<a href="{$module_data.PRODUCTS_LINK}">
<img src="{$module_data.PRODUCTS_IMAGE}" alt="{$module_data.PRODUCTS_NAME}" class="productImageBorder" />
</a>
<span style="font-size:11px"><b>Art.Nr.: </b><br />{$module_data.PRODUCTS_MODEL}</span>
{else}
{/if}
</td>
<td class="productPreviewContent" height="100%">
<table height="100%">
<tr>
<td height="3px" valign="top">
<h2><a href="{$module_data.PRODUCTS_LINK}">{$module_data.PRODUCTS_NAME}</a></h2>
</td>
</tr>
<tr>
<td height="100%" valign="top">
<p>{$module_data.PRODUCTS_SHORT_DESCRIPTION}</p>
</td>
</tr>
<tr>
<td height="30px" valign="top">
<p class="price">
<font size="-1">
{$module_data.PRODUCTS_PRICE}
<span class="taxandshippinginfo">( {$module_data.PRODUCTS_TAX_INFO}{$module_data.PRODUCTS_SHIPPING_LINK} )</span>
</p>
{if $module_data.PRODUCTS_VPE}
<p class="vpe">
{$module_data.PRODUCTS_VPE}
</p>
{/if}
{if $module_data.PRODUCTS_SHIPPING_NAME}
<p class="shippingtime">
{#text_shippingtime#}
{if $module_data.PRODUCTS_SHIPPING_IMAGE}
<img src="{$module_data.PRODUCTS_SHIPPING_IMAGE}" alt="{$module_data.PRODUCTS_SHIPPING_NAME}" />
{/if}
{$module_data.PRODUCTS_SHIPPING_NAME}
</p>
{/if}
</td>
</tr>
<tr>
<td height="25px">
<p><a href="{$module_data.PRODUCTS_LINK}"><img src="{$tpl_path}buttons/{$language}/button_product_more.gif" alt="Details" border="0" /></a> {$module_data.PRODUCTS_BUTTON_BUY_NOW}<br /><br /></p>
</td>
</tr>
</table>
</td>
{php}
if ($column >= 2) {
echo '</tr>
<tr>
<td colspan="4" class="listing_border"> </td>
</tr>
<tr>';
$column = 0;
}
$column++;
{/php}
{/foreach}
</tr>
</table>
Der Code zum unteren Modul, wo die Lieferzeit rein sollte:
{config_load file="$language/lang_$language.conf" section="boxes"}
{config_load file="$language/lang_$language.conf" section="index"}
<div style="text-align:center;margin:10px 0 10px 0;">{$module_image}</div>
<h1>{#heading_new_products#}</h1>
<table class="productPreview" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
{php}$column = 1;{/php}
{foreach name=aussen item=module_data from=$module_content}
<td align="center" class="productPreviewImage" height="100%">
{if $module_data.PRODUCTS_IMAGE!=''}
<a href="{$module_data.PRODUCTS_LINK}">
<img src="{$module_data.PRODUCTS_IMAGE}" alt="{$module_data.PRODUCTS_NAME}" class="productImageBorder" />
</a>
<span style="font-size:11px"><b>Art.Nr.: </b><br />{$module_data.PRODUCTS_MODEL}</span>
{else}
{/if}
</td>
<td class="productPreviewContent" height="100%">
<table height="100%">
<tr>
<td height="3px" valign="top">
<h2><a href="{$module_data.PRODUCTS_LINK}">{$module_data.PRODUCTS_NAME}</a></h2>
</td>
</tr>
<tr>
<td height="100%" valign="top">
<p>{$module_data.PRODUCTS_SHORT_DESCRIPTION}</p>
</td>
</tr>
<tr>
<td height="30px" valign="top">
<p class="price">
<font size="-1">
{$module_data.PRODUCTS_PRICE}
<span class="taxandshippinginfo">( {$module_data.PRODUCTS_TAX_INFO}{$module_data.PRODUCTS_SHIPPING_LINK} )</span>
</p>
{if $module_data.PRODUCTS_VPE}
<p class="vpe">
{$module_data.PRODUCTS_VPE}
</p>
{/if}
{if $module_data.PRODUCTS_SHIPPING_NAME}
<p class="shippingtime">
{#text_shippingtime#}
{if $module_data.PRODUCTS_SHIPPING_IMAGE}
<img src="{$module_data.PRODUCTS_SHIPPING_IMAGE}" alt="{$module_data.PRODUCTS_SHIPPING_NAME}" />
{/if}
{$module_data.PRODUCTS_SHIPPING_NAME}
</p>
{/if}
</td>
</tr>
<tr>
<td height="25px">
<p><a href="{$module_data.PRODUCTS_LINK}"><img src="{$tpl_path}buttons/{$language}/button_product_more.gif" alt="Details" border="0" /></a> {$module_data.PRODUCTS_BUTTON_BUY_NOW}<br /><br /></p>
</td>
</tr>
</table>
</td>
{php}
if ($column >= 2) {
echo '</tr>
<tr>
<td colspan="4" class="listing_border"> </td>
</tr>
<tr>';
$column = 0;
}
$column++;
{/php}
{/foreach}
</tr>
</table>
Oder sehe ich den Wald vor lauter Bäumen mal wieder nicht? Wer kann mir helfen.
Linkback: https://www.modified-shop.org/forum/index.php?topic=22231.0