|
|||
|
Hi,
habe versucht das Coding aus http://www.xt-commerce.com/forums/index.ph...++nebeneinander in das product_listing_v1.html einzubauen. leider werden die artikel jetzt nicht nebeneinander sondern schr?g versetzt und weiter untereinander angezeigt. ausserdem sind die boxen rechts nach unten verschoben. an welcher stelle muss ich im coding noch drehen? bin kein php-crack. :unsure: gruss, petra. hatte vergessen, dass coding anzuf?gen. hier ist es: |
|
|||
|
das ist ein reiner HTML-fehler.
schlie?e immer alles, was du aufmachst und vorallem nicht mehr ![]() Code:
{$module_data.BUTTON_BUY_NOW}</td>
</tr>
</table></td>
</tr>
</table> </td>
</tr>
</table></td>
{php}
if ($col>=2) {
$col=0;
echo '</tr><tr>';
}
{/php}
{/foreach}
</table>
Code:
{$module_data.BUTTON_BUY_NOW}</td>
</tr>
</table></td>
</tr>
</table> </td>
</td>
{php}
if ($col>=2) {
$col=0;
echo '</tr><tr>';
}
{/php}
{/foreach}
</tr></table>
</td>
</tr>
</table>
Code:
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-top: 2px solid; border-color: #d4d4d4;">
<tr>
{foreach name=aussen item=module_data from=$module_content}
{php} $col++;
|
|
|||
|
1. du bist nicht im sponsorforum. vielleicht solltest du es dann da versuchen
![]() aber jetzt hab ichs glaube ich ![]() also das ist deins Code:
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center">
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-top: 2px solid; border-color: #d4d4d4;">
{foreach name=aussen item=module_data from=$module_content}
{php} $col++;
{/php}
<td class="start_prod" width="50%" valign="top">
<tr>
<td rowspan="2" style="border-bottom: 1px solid; border-color: #cccccc;">{if $module_data.PRODUCTS_IMAGE!=''}<a href="{$module_data.PRODUCTS_LINK}"><img src="{$module_data.PRODUCTS_IMAGE}" alt="{$module_data.PRODUCTS_NAME}" /></a>{/if}
{if $module_data.PRODUCTS_FSK18=='true'}<br /><img src="{$tpl_path}img/fsk18.gif" alt="" />{/if}</td>
<td align="left" class="main"><a href="{$module_data.PRODUCTS_LINK}"><strong>{$module_data.PRODUCTS_NAME}</strong></a></td>
</tr>
<tr>
<td align="left" class="main" style="border-bottom: 1px solid; border-color: #cccccc;">{$module_data.PRODUCTS_SHORT_DESCRIPTION}
<br />
<strong>{$module_data.PRODUCTS_PRICE} </strong><br />
{$module_data.PRODUCTS_TAX_INFO}{$module_data.PRODUCTS_SHIPPING_LINK}
{if $module_data.PRODUCTS_VPE}{$module_data.PRODUCTS_VPE}{/if}
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="right"><table width="200" border="0">
<tr>
<td align="right">{if $module_data.SHIPPING_NAME}
<table width="200" border="0" cellpadding="0" cellspacing="0">
<tr valign="middle">
<td class="main">{#text_shippingtime#}</td>
{if $module_data.SHIPPING_IMAGE}
<td><img src="{$module_data.SHIPPING_IMAGE}" alt="{$module_data.SHIPPING_NAME}" /></td>
{/if}
<td class="main">{$module_data.SHIPPING_NAME}</td>
</tr>
</table>
{/if}
{$module_data.BUTTON_BUY_NOW}</td>
</tr>
</table></td>
</tr>
</table> </td>
</tr>
</table></td>
{php}
if ($col>=2) {
$col=0;
echo '</tr><tr>';
}
{/php}
{/foreach}
</table>
Code:
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center">
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-top: 2px solid; border-color: #d4d4d4;">
{foreach name=aussen item=module_data from=$module_content}
{php} $col++;
{/php}
<td class="start_prod" width="50%" valign="top">
<!-- ADDED -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<!-- -------------- -->
<tr>
<td rowspan="2" style="border-bottom: 1px solid; border-color: #cccccc;">{if $module_data.PRODUCTS_IMAGE!=''}<a href="{$module_data.PRODUCTS_LINK}"><img src="{$module_data.PRODUCTS_IMAGE}" alt="{$module_data.PRODUCTS_NAME}" /></a>{/if}
{if $module_data.PRODUCTS_FSK18=='true'}<br /><img src="{$tpl_path}img/fsk18.gif" alt="" />{/if}</td>
<td align="left" class="main"><a href="{$module_data.PRODUCTS_LINK}"><strong>{$module_data.PRODUCTS_NAME}</strong></a></td>
</tr>
<tr>
<td align="left" class="main" style="border-bottom: 1px solid; border-color: #cccccc;">{$module_data.PRODUCTS_SHORT_DESCRIPTION}
<br />
<strong>{$module_data.PRODUCTS_PRICE} </strong><br />
{$module_data.PRODUCTS_TAX_INFO}{$module_data.PRODUCTS_SHIPPING_LINK}
{if $module_data.PRODUCTS_VPE}{$module_data.PRODUCTS_VPE}{/if}
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="right"><table width="200" border="0">
<tr>
<td align="right">{if $module_data.SHIPPING_NAME}
<table width="200" border="0" cellpadding="0" cellspacing="0">
<tr valign="middle">
<td class="main">{#text_shippingtime#}</td>
{if $module_data.SHIPPING_IMAGE}
<td><img src="{$module_data.SHIPPING_IMAGE}" alt="{$module_data.SHIPPING_NAME}" /></td>
{/if}
<td class="main">{$module_data.SHIPPING_NAME}</td>
</tr>
</table>
{/if}
{$module_data.BUTTON_BUY_NOW}</td>
</tr>
</table></td>
</tr>
</table> </td>
</tr>
</table></td>
{php}
if ($col>=2) {
$col=0;
echo '</tr><tr>';
}
{/php}
{/foreach}
<!-- ADDED -->
</tr>
<!-- --------- -->
</table>
<!-- ADDED -->
</td>
</tr>
</table>
<!-- --------- -->
|
|
|||
|
danke f?r die hilfe. hat soweit geklappt.
"aber jetzt ich leider die beschreibung der kategorie nicht mehr sehen, wenn man diese aufklappt. daran ist doch eigentlich im coding nicht gedreht worden, oder?" wer lesen kann, in klar im vorteil! hatte 'was ?bersehen. vielen dank noch mal. sieht jetzt super aus.
|
![]() |
| Lesezeichen |
| Stichworte |
| nebeneinander, produktlisting |
| Themen-Optionen | |
| Ansicht | |
|
|