#1 (permalink)  
Alt 24.10.2005, 11:55
Neuer Benutzer
 
Registriert seit: 28.11.2004
Beiträge: 14
Standard

Hallo zusammen wollte es ?ndern das die produkte beim produktlisten nebeneinander sind und nicht untereinander aber irgenwie krieg ich das nicht hin

Hier mein tag von der product_listing_v1.html

"{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}

{$CATEGORIES_DESCRIPTION}{/if}
{if $CATEGORIES_IMAGE}[img]{$CATEGORIES_IMAGE}[/img]
{/if}




<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: 0px solid; border-color:;">
{foreach name=aussen item=module_data from=$module_content}
<tr>
<td valign="middle" style="border-bottom: 0px solid; border-color: ;">{if $module_data.PRODUCTS_IMAGE!=''}[img]{$module_data.PRODUCTS_IMAGE}[/img]{/if} </td>
</tr>
{/foreach}
</table>
</td>
</tr>
</table>


"

Oder muss ich noch eine andere datei ver?ndern ich will einfach nur das die bilder nicht untereinander angezeigt werden sondern nebeneinander

danke schon mal im vorraus
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #2 (permalink)  
Alt 26.10.2005, 20:56
Neuer Benutzer
 
Registriert seit: 15.10.2005
Beiträge: 14
Standard

Hi,

ich w?rde mir mal die Datei "new_products.html" ansehen (falls die bei Dir auch so aussieht. Guckst Du:

Code:
<table class="infoBox" width="100%" border="0" cellspacing="0" cellpadding="0">
 <tr>
 {foreach name=aussen item=module_data from=$module_content}
 {php} $col++; 
 {/php}
  <td width="50%" class="main"><div align="left">
    <table width="100%" border="0" cellpadding="2" cellspacing="8">
     <tr align="left" valign="top"> 
      <td width="1" >{if $module_data.PRODUCTS_IMAGE}<a href="{$module_data.PRODUCTS_LINK}"><img src="{$module_data.PRODUCTS_IMAGE}" border="0"></a>{/if}</a></td>
      <td class="main"><strong><a href="{$module_data.PRODUCTS_LINK}">{$module_data.PRODUCTS_NAME}</a></strong><br>
       {$module_data.PRODUCTS_DESCRIPTION}<br>
       <strong>{$module_data.PRODUCTS_PRICE}</strong> </td>
     </tr>
    </table>

   </div></td>
 {php} 

 if ($col>=2) {
 $col=0;
 echo '</tr><tr>';
 }
 {/php}
 {/foreach} 
 </tr>
</table>
Die If-Abfrage* f?r die Anzahl der Reihen/Spalten brauchst Du in jedem Fall, denke ich. Falls das ?berhaupt Dein Problem war

*
Zitat:
{php} $col++;
{/php}
Zitat:
{php}

if ($col>=2) {
$col=0;
echo '</tr><tr>';
}
{/php}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
Antwort

Lesezeichen

Stichworte
listening, probleme, produkt

Themen-Optionen
Ansicht

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are aus
Pingbacks are aus
Refbacks are aus



Alle Zeitangaben in WEZ +1. Es ist jetzt 04:48 Uhr.

Copyright © 2011 xt:Commerce GmbH / xt:Commerce International Ltd. - All Rights Reserved

xt:Commerce is a SafeCharge brand