#1 (permalink)  
Alt 22.10.2005, 12:52
xt:Commerce Support Kunde
 
Registriert seit: 07.10.2005
Beiträge: 324
Standard

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:
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #2 (permalink)  
Alt 24.10.2005, 09:45
 
Registriert seit: 30.08.2005
Beiträge: 104
Standard

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>
muss vielmehr wie folgt aussehen

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>
Des Weiteren hast du vor deiner foreach-schleife ein <tr> vergessen
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++;
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #3 (permalink)  
Alt 24.10.2005, 09:46
xt:Commerce Support Kunde
 
Registriert seit: 07.10.2005
Beiträge: 324
Standard

:sad: kann mir denn wirklich keiner helfen???

ich dachte, als sponsor w?rde man schon eine erweiterte hilfe bekommen.
ist wirklich dringend.

danke.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #4 (permalink)  
Alt 24.10.2005, 09:47
 
Registriert seit: 30.08.2005
Beiträge: 104
Standard

ne moment mal. das stimmt immernoch nicht.
ich muss sagen, dass ich aus diesem wirrwarr nicht ganz schlau werde.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #5 (permalink)  
Alt 24.10.2005, 09:51
 
Registriert seit: 30.08.2005
Beiträge: 104
Standard

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>
und so solltest du es versuchen
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>
<!-- --------- -->
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #6 (permalink)  
Alt 24.10.2005, 09:59
xt:Commerce Support Kunde
 
Registriert seit: 07.10.2005
Beiträge: 324
Standard

danke, danke! die antworten haben sich ?berschnitten. werde das jetzt ausprobieren.

komisch, ich melde mich im support-forum an und lande immer hier. was mache ich denn falsch?
:huh:

gr??e, petra.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #7 (permalink)  
Alt 24.10.2005, 10:16
xt:Commerce Support Kunde
 
Registriert seit: 07.10.2005
Beiträge: 324
Beitrag

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
Antwort

Lesezeichen

Stichworte
nebeneinander, produktlisting

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 02:55 Uhr.

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

xt:Commerce is a SafeCharge brand