torstenkal Posted August 17, 2004 Report Share Posted August 17, 2004 gibt es ein addon, kleinen hack o.?. welches die mehrspaltige artikelanzeige unterst?tzt? es gab sowas mal bei oscommerce da f?hrt man die anzahl der spalten zur artikelanzeige mit und kann die jederzeit ?ndern. das scheint mir aber nicht sinnvoll weil es nicht m?glich ist mehr als 3 spalten lesbar darzustellen. wer hilft ein bisschen ? :wall: Link to comment Share on other sites More sharing options...
Guest HHGAG Posted August 17, 2004 Report Share Posted August 17, 2004 Das kannst Du alles im Template machen. Guck es Dir bei der categories_listing an Link to comment Share on other sites More sharing options...
torstenkal Posted August 17, 2004 Author Report Share Posted August 17, 2004 aber: ich steh ein wenig auf der leitung ... was meinst du was ich da sehe? eine schleife in der artikel ausgelsen und in eine tabelle einspaltig untereinander angezeigt werden.. wenn ich zwei spalten will muss eine zweite schleife erstellt werden oder was meinst du? also nicht boese sein aber wenn s sowas schon gibt ists halt einfacher das einzubauen als stundenlang rumzuwurschteln. wenns was kostet zahl ichs auch... Link to comment Share on other sites More sharing options...
Guest HHGAG Posted August 17, 2004 Report Share Posted August 17, 2004 Guck es Dir doch in der categories_listing an. Die if Schleife mit col...... Link to comment Share on other sites More sharing options...
torstenkal Posted August 17, 2004 Author Report Share Posted August 17, 2004 ok. danke. hat funktioniert. Link to comment Share on other sites More sharing options...
fabivomsee Posted February 4, 2008 Report Share Posted February 4, 2008 Hallo ich habe das Template wie auf http://www.self-commerce.de/viewtopic.php?p=117&highlight= verändert.. Opera und Firefox zeigen schöön zweispaltig an. der einzige der Faxen macht is t der IE? {config_load file="$language/lang_$language.conf" section="index"}<table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr valign="top"> <td class="contentsTopics">{$CATEGORIES_NAME}</td> <td align="right"> </td> </tr> <tr valign="top"> <td class="contentsTopics">{$CATEGORIES_HEADING_TITLE}</td> <td align="right"> </td> </tr> </table>{if $CATEGORIES_DESCRIPTION}<br />{$CATEGORIES_DESCRIPTION}{/if}<br />{if $CATEGORIES_IMAGE}<img src="{$CATEGORIES_IMAGE}" alt="{$CATEGORIES_NAME}" /><br /><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td style="border-bottom: 1px solid; border-color: #000000;"> </td> </tr></table>{/if}{if $MANUFACTURER_DROPDOWN}<br /><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="main" align="right"><table border="0" cellspacing="0" cellpadding="0"> <tr> <td class="main" align="right">{#text_show#} </td> <td class="main" align="right">{$MANUFACTURER_DROPDOWN}</td> </tr> </table> </td> </tr></table><br />{/if}<table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="center"> <table width="125" 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++; {/php} <td width="125" valign="top" rowspan="2"> {if $module_data.PRODUCTS_IMAGE!=''}<a href="{$module_data.PRODUCTS_LINK}"><img src="{$module_data.PRODUCTS_IMAGE}" alt="{$module_data.PRODUCTS_NAME}" /></a>{/if} <p><strong>{$module_data.PRODUCTS_PRICE} </strong>{$module_data.BUTTON_BUY_NOW}<a href="{$module_data.PRODUCTS_LINK}"><img src="{$tpl_path}buttons/german/details.gif" alt="Details" border="0" /></a> </p></td> </tr> <tr> <td align="left" class="main"> <table width="100%" border="0" cellpadding="0" cellspacing="0" > <tr> <td align="left"><table width="20" border="0"> <!-- width defines the distance between the pictures --> <tr> <td align="left">{if $module_data.SHIPPING_NAME} <table width="20" 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} </td> </tr> </table></td> </tr> </table> </td> {php} if ($col>=2) { $col=0; echo '</tr><tr>'; } {/php} {/foreach} </tr> </table> </td> </tr></table><br /> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td>{$NAVIGATION}</td> </tr></table> Hat jemand ein Idee? Vielen Dank für die Hilfe Link to comment Share on other sites More sharing options...
ZMM-Electronic Posted February 13, 2008 Report Share Posted February 13, 2008 Artikelübersicht dreispaltig {config_load file="$language/lang_$language.conf" section="index"} <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr valign="top"> <td class="contentsTopics">{$CATEGORIES_NAME}</td> <td align="right"> </td> </tr> <tr valign="top"> <td class="contentsTopics">{$CATEGORIES_HEADING_TITLE}</td> <td align="right"> </td> </tr> </table> {if $CATEGORIES_DESCRIPTION}<br /> {$CATEGORIES_DESCRIPTION}{/if}<br />{if $CATEGORIES_IMAGE}<img src="{$CATEGORIES_IMAGE}" alt="{$CATEGORIES_NAME}" /> <br /> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td style="border-bottom: 1px solid; border-color: #000000;"> </td> </tr> </table> {/if} {if $MANUFACTURER_DROPDOWN}<br /> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="main" align="right"><table border="0" cellspacing="0" cellpadding="0"> <tr> <td class="main" align="right">{#text_show#} </td> <td class="main" align="right">{$MANUFACTURER_DROPDOWN}</td> </tr> </table> </td> </tr> </table> <br /> {/if} <table style="border-top: 2px solid; border-color: #d4d4d4;" 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" ><a href="{$module_data.PRODUCTS_LINK}"><strong>{$module_data.PRODUCTS_NAME}</strong></a></td> </tr> <tr> <td align="center" >{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> </tr> <tr> <td align="center" >{$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}<br />{$module_data.PRODUCTS_VPE}{/if}</td> </tr> <tr> <td align="right">{if $module_data.PRODUCTS_SHIPPING_NAME} <table width="200" border="0" cellpadding="0" cellspacing="0"> <tr valign="middle"> <td class="main">{#text_shippingtime#}</td> {if $module_data.PRODUCTS_SHIPPING_IMAGE} <td><img src="{$module_data.PRODUCTS_SHIPPING_IMAGE}" alt="{$module_data.PRODUCTS_SHIPPING_NAME}" /></td> {/if} <td class="main">{$module_data.PRODUCTS_SHIPPING_NAME}</td> </tr> </table> {/if} {$module_data.PRODUCTS_BUTTON_BUY_NOW}</td> </tr> </table> </td> {php} if ($col>=3) { $col=0; echo '</tr> </table> <table style="border-top: 2px solid; border-color: #d4d4d4;" width="100%" border="0" cellspacing="0" cellpadding="0"> <tr>'; } {/php} {/foreach} </tr> </table> <p> </p> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td>{$NAVIGATION}</td> </tr> </table>[/php] Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.