#1 (permalink)  
Alt 11.01.2007, 17:16
Erfahrener Benutzer
 
Registriert seit: 18.10.2006
Ort: sind zu finden am Rande des nagelneuen Nationalpark in NRW
Beiträge: 132
Standard 2 spaltig, aber wie ??

ich hätte gerne mein "Product Listing" 2 spaltig.

Im Moment sieht es so aus :

{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">&nbsp;</td>
</tr>
<tr valign="top">
<td class="contentsTopics">{$CATEGORIES_HEADING_TITLE} </td>
<td align="right">&nbsp;</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;">&nbsp;</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#}&nbsp;</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="100%" border="0" cellpadding="0" cellspacing="0" style="border-top: 2px solid; border-color: #d4d4d4;">
{foreach name=aussen item=module_data from=$module_content}
<tr>
<td rowspan="2" style="border-bottom: 1px solid; border-color: #cccccc;">&nbsp;{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>{$modu le_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 />
<br />
<br />
<br />
<strong>{$module_data.PRODUCTS_PRICE}
<br />
</strong>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left"><table width="200" border="0">
<tr>
<td align="left">{if $module_data.SHIPPING_NAME}
<table width="250" border="0" cellpadding="0" cellspacing="0">
<tr valign="left">
<td class="main">{#text_shippingtime#}{$module_data.SH IPPING_NAME}</td>
</tr>
</table>
{/if}
{$module_data.BUTTON_BUY_NOW}</td>
</tr>
</table></td>
</tr>
</table> </td>
</tr>
{/foreach}
</table>
</td>
</tr>
</table>
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>{$NAVIGATION}</td>
</tr>
</table>


Bin schon den ganzen Tag am tüffteln, aber meine Kenntnisse reichen doch nicht so weit

Wer ist bereit mir zu helfen ??

Gruß

Jeannie
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #2 (permalink)  
Alt 11.01.2007, 18:06
Vio Vio ist offline
Erfahrener Benutzer
 
Registriert seit: 27.03.2006
Beiträge: 1.660
Standard

Hallo Jeannie
Kannst Du das mal genauer beschreiben?
Was willst Du genau in 2 Spalten getrennt haben?

Grüße
Vio
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #3 (permalink)  
Alt 11.01.2007, 18:49
Erfahrener Benutzer
 
Registriert seit: 18.10.2006
Ort: sind zu finden am Rande des nagelneuen Nationalpark in NRW
Beiträge: 132
Standard

hi Vio,

meine Artikel werden momentan untereinander angezeigt, ich hätte sie halt gerne in 2 Spalten . Hoffe du verstehst was ich meine !

Gruß

Jeanie
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #4 (permalink)  
Alt 11.01.2007, 18:56
Benutzerbild von dukie6666
VEYTON Service Partner
 
Registriert seit: 26.01.2004
Ort: Nueva Colombia/Paraguay
Beiträge: 1.855
Standard

schau dir die datei new_produkts an, und baue diese analog auf, dann musst du nur noch hier deine spalten zahl eingeben: if ($col>=1)
__________________
Grüße Oliver


Zertifizierter xt:Commerce VEYTON Reseller & Service Partner
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #5 (permalink)  
Alt 11.01.2007, 19:26
Vio Vio ist offline
Erfahrener Benutzer
 
Registriert seit: 27.03.2006
Beiträge: 1.660
Standard

Hallo

meine ist 2spaltig. Hier ist die Datei.
Sichere aber Deine auf alle Fälle!
Tabellenbreite ect. musst Du evt. noch anpassen!
Dies ist allerdings 304 SP21. Ich weiß nicht, welche Shopversion Du benutzt.
Grüße
Vio

{config_load file="$language/lang_$language.conf" section="index"}
<br />

<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="left"><h1>{$CATEGORIES_NAME}</h1></td>
<td align="right">{if $MANUFACTURER_DROPDOWN}{#text_show#}&nbsp;
{$MANUFACTURER_DROPDOWN}{/if}</td>
</tr>
</table>
<br />
{if $CATEGORIES_DESCRIPTION}<br />
{$CATEGORIES_DESCRIPTION}<br /><br />{/if}

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
{foreach name=aussen item=module_data from=$module_content}
{php}
$col++;
{/php}
<td align="left" valign="top" width="33%" >
<table height="100" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>

{php} if ($col==1) { echo '
<td rowspan="4">&nbsp;</td>

'; } {/php} </tr>
<tr>
<td align="center" valign="top">



<table width="98%" height="100" border="0" cellpadding="0" cellspacing="0" style="border: 1px solid; border-color: #d4d4d4;padding:3px;margin:2px;">
<tr>
<td width="50" rowspan="2" align="center" valign="center" style="padding-right:6px;">{if
$module_data.PRODUCTS_IMAGE!=''}

<a href="{$module_data.PRODUCTS_LINK}"><img src="{$module_data.PRODUCTS_IMAGE}" /></a>
{/if}
{if $module_data.PRODUCTS_FSK18=='true'}<br />
<img src="{$tpl_path}img/fsk18.gif" alt="" />{/if}</td>
<td width="200" align="left" bgcolor="#F1F1F1" style="padding-left:6px;"><a href="{$module_data.PRODUCTS_LINK}"><strong>{$modu le_data.PRODUCTS_NAME}</strong></a></td>
</tr>
<tr>
<td width="200" align="left" valign="middle" bgcolor="#F1F1F1" style="padding-left:6px;">
<a href="{$module_data.PRODUCTS_LINK}"><strong>Detail s...</strong></a><br />
<div class="price">{$module_data.PRODUCTS_PRICE}</div>
{$module_data.PRODUCTS_TAX_INFO}{$module_data.PROD UCTS_SHIPPING_LINK}
{if $module_data.PRODUCTS_VPE}<br />{$module_data.PRODUCTS_VPE}{/if}{$module_data.PRODUCTS_BUTTON_BUY_NOW}</td>
</tr>
</table>
</td>
</tr>
</table>



</td>
{php}
if ($col>=2) {
$col=0;
echo '</tr><tr>';
}
{/php}
{/foreach} </tr>
</table>
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>{$NAVIGATION}</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 11.01.2007, 21:54
Erfahrener Benutzer
 
Registriert seit: 18.10.2006
Ort: sind zu finden am Rande des nagelneuen Nationalpark in NRW
Beiträge: 132
Standard


es funzt mit beiden Vorschlägen nicht !! Trozdem vielen Dank !!
Benutze Version 3.03
Bekomme jedesmal folgende Fehlermeldungen !!

Fatal error: Smarty error: [in test2/module/product_listing/product_listing_v1.html line 29]: syntax error: mismatched tag {/if}. (Smarty_Compiler.class.php, line 2231) in /var/www/vhosts/meine domain.de/httpdocs/xtcommerce/includes/classes/Smarty_2.6.6/Smarty.class.php on line 1088

<html>
<head>
<title>.</title>
</head>
<body>
{config_load file="$language/lang_$language.conf" section="index"} <br>
<table align="center" border="0" cellpadding="0"
cellspacing="0" width="98%">
<tbody>
<tr>
<td align="left">
<h3> {$CATEGORIES_NAME}</h3>
</td>
<td align="right">{if
$MANUFACTURER_DROPDOWN}{#text_show#}&nbsp;
{$MANUFACTURER_DROPDOWN}{/if}</td>
</tr>
</tbody>
</table>
&nbsp; {$CATEGORIES_HEADING_TITLE}<br>
<br>
{/if}
<table border="0" cellpadding="0" cellspacing="0"
width="100%">
<tbody>
<tr>
{foreach name=aussen item=module_data from=$module_content} {php}
$col++; {/php} <td align="left" valign="top"
width="33%">
<table border="0" cellpadding="0" cellspacing="0"
height="100" width="100%">
<tbody>
<tr>
{php} if ($col==1) { echo ' <td rowspan="4">&nbsp;</td>
'; } {/php} </tr>
<tr>
<td align="center" valign="top">
<table
style="border: 1px solid rgb(212, 212, 212); margin: 2px; padding: 3px;"
border="0" cellpadding="0" cellspacing="0"
height="100" width="98%">
<tbody>
<tr>
<td rowspan="2" style="padding-right: 6px;"
align="center" valign="center" width="50">{if
$module_data.PRODUCTS_IMAGE!=''}
<a href="%7B$module_data.PRODUCTS_LINK%7D"><img
src="%7B$module_data.PRODUCTS_IMAGE%7D"></a> {/if} {if
$module_data.PRODUCTS_FSK18=='true'}<br>
<img src="%7B$tpl_path%7Dimg/fsk18.gif"
alt="">{/if}</td>
<td style="padding-left: 6px;" align="left"
bgcolor="#f1f1f1" width="200"><a
href="%7B$module_data.PRODUCTS_LINK%7D"><strong></strong><strong></strong></a><strong><a
href="file:///D:/xtcommerce/xtCommerce_v3.0.3/xtCommerce/templates/test2/module/product_listing/%7B$module_data.PRODUCTS_LINK%7D">{$module_data.PR ODUCTS_NAME}</a></strong></td>
</tr>
<tr>
<td style="padding-left: 6px;" align="left"
bgcolor="#f1f1f1" valign="middle" width="200">
<a href="%7B$module_data.PRODUCTS_LINK%7D">{$module_d ata.PRODUCTS_DESCRIPTION}<br>
<strong>{$module_data.PRODUCTS_PRICE}<br>
</strong>{$module_data.BUTTON_BUY_NOW}</a></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
{php} if ($col&gt;=2) { $col=0; echo '</tr>
<tr>
'; } {/php} {/foreach} </tr>
</tbody>
</table>
<br>
<table border="0" cellpadding="0" cellspacing="0"
width="100%">
<tbody>
<tr>
<td>{$NAVIGATION}</td>
</tr>
</tbody>
</table>
</body>
</html>


Ich glaube ich gebe es dran !!!

Gruß

Jeannie

Geändert von Jeannie (11.01.2007 um 22:07 Uhr)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #7 (permalink)  
Alt 12.01.2007, 09:37
Vio Vio ist offline
Erfahrener Benutzer
 
Registriert seit: 27.03.2006
Beiträge: 1.660
Standard

Hallo,
die Fehlermeldung besagt, dass Du noch eine ältere Smarty-Version hast. Die wurde mit dem Update von 304SP1 auf 304 SP21 geändert.
Hier ist mal die Version von 304 Sp1:
<td width="50%" style="border-right: 1px solid; border-color: #cccccc;" valign="top" align="center">
<table width="1" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center">
<table width="1" border="0" cellpadding="5" cellspacing="0">
<tr>
<td align="left">{if $PRODUCTS_IMAGE!=''}<a href="{$PRODUCTS_POPUP_LINK}"><img src="{$PRODUCTS_IMAGE}" alt="{$PRODUCTS_NAME}" /><br><img src="{$tpl_path}img/zoom.gif"></a>{/if}</td>
</tr>
<!-- more images -->
{if $PRODUCTS_IMAGE_1 != ''}
<tr>
<td align="left" style="border-top: 1px solid; border-color: #cccccc;">
<a href="{$PRODUCTS_POPUP_LINK_1}"><img src="{$PRODUCTS_IMAGE_1}" alt="{$PRODUCTS_NAME}" /><br><img src="{$tpl_path}img/zoom.gif"></a>
</td>
</tr>
{/if}
{if $PRODUCTS_IMAGE_2 != ''}
<tr>
<td style="border-top: 1px solid; border-color: #cccccc;">
<a href="{$PRODUCTS_POPUP_LINK_2}"><img src="{$PRODUCTS_IMAGE_2}" alt="{$PRODUCTS_NAME}" /><br><img src="{$tpl_path}img/zoom.gif"></a>
</td>
</tr>
{/if}
{if $PRODUCTS_IMAGE_3 != ''}
<tr>
<td style="border-top: 1px solid; border-color: #cccccc;">
<a href="{$PRODUCTS_POPUP_LINK_3}"><img src="{$PRODUCTS_IMAGE_3}" alt="{$PRODUCTS_NAME}" /><br><img src="{$tpl_path}img/zoom.gif"></a>
</td>
</tr>
{/if}
<!-- more images eof -->
</table>

Frage zum Produkt&nbsp;{$ASK_PRODUCT_QUESTION}<br />{if $PRODUCTS_IMAGE_LINK!=''}<a href="{$PRODUCTS_IMAGE_LINK}" onclick="window.open(this.href); return false;">{$PRODUCTS_TEXT_ZOOM}</a><br />{/if}
{if $PRODUCTS_FSK18=='true'}
<br />
<img src="{$tpl_path}img/fsk18.gif" alt="" />
{/if}
{if $MODULE_graduated_price !=''} {$MODULE_graduated_price}<br />
<br />
<br />
{/if}
</td>
</tr>
</table></td>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #8 (permalink)  
Alt 12.01.2007, 09:52
Erfahrener Benutzer
 
Registriert seit: 18.10.2006
Ort: sind zu finden am Rande des nagelneuen Nationalpark in NRW
Beiträge: 132
Standard bekomme schon mal keine Fehlermeldung aber...

hoffe ich bin nicht lästig ....
Aber bist du sicher dass der code vollständig ist ?? ich bekomme nichts angezeigt

Aber auch keine Fehlermeldung !!

Gruß

Jeannie
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #9 (permalink)  
Alt 12.01.2007, 10:14
Vio Vio ist offline
Erfahrener Benutzer
 
Registriert seit: 27.03.2006
Beiträge: 1.660
Standard

War nicht vollständig, tut mir leid...

{config_load file="$language/lang_$language.conf" section="index"}
<br />

<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="left"><h1>{$CATEGORIES_NAME}</h1></td>
<td align="right">{if $MANUFACTURER_DROPDOWN}{#text_show#}&nbsp;
{$MANUFACTURER_DROPDOWN}{/if}</td>
</tr>
</table>
<br />
{if $CATEGORIES_DESCRIPTION}<br />
{$CATEGORIES_DESCRIPTION}<br /><br />{/if}

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
{foreach name=aussen item=module_data from=$module_content}
{php}
$col++;
{/php}
<td align="left" valign="top" width="33%" >
<table height="100" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>

{php} if ($col==1) { echo '
<td rowspan="4">&nbsp;</td>

'; } {/php} </tr>
<tr>
<td align="center" valign="top">



<table width="98%" height="100" border="0" cellpadding="0" cellspacing="0" style="border: 1px solid; border-color: #d4d4d4;padding:3px;margin:2px;">
<tr>
<td width="50" rowspan="2" align="center" valign="center" style="padding-right:6px;">{if
$module_data.PRODUCTS_IMAGE!=''}

<a href="{$module_data.PRODUCTS_LINK}"><img src="{$module_data.PRODUCTS_IMAGE}" /></a>
{/if}
{if $module_data.PRODUCTS_FSK18=='true'}<br />
<img src="{$tpl_path}img/fsk18.gif" alt="" />{/if}</td>
<td width="200" align="left" bgcolor="#F1F1F1" style="padding-left:6px;"><a href="{$module_data.PRODUCTS_LINK}"><strong>{$modu le_data.PRODUCTS_NAME}</strong></a></td>
</tr>
<tr>
<td width="200" align="left" valign="middle" bgcolor="#F1F1F1" style="padding-left:6px;">
<a href="{$module_data.PRODUCTS_LINK}"><strong>Detail s...</strong></a><br />
<div class="price">{$module_data.PRODUCTS_PRICE}</div>
{$module_data.PRODUCTS_TAX_INFO}{$module_data.PROD UCTS_SHIPPING_LINK}
{if $module_data.PRODUCTS_VPE}{$module_data.PRODUCTS_V PE}{/if} {$module_data.BUTTON_BUY_NOW}</td>
</tr>
</table>
</td>
</tr>
</table>



</td>
{php}
if ($col>=2) {
$col=0;
echo '</tr><tr>';
}
{/php}
{/foreach} </tr>
</table>
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>{$NAVIGATION}</td>
</tr>
</table>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #10 (permalink)  
Alt 12.01.2007, 10:26
Erfahrener Benutzer
 
Registriert seit: 18.10.2006
Ort: sind zu finden am Rande des nagelneuen Nationalpark in NRW
Beiträge: 132
Standard es soll wohl nicht sein...

es soll wohl nicht sein !!!

Fatal error: Smarty error: [in test2/module/product_listing/product_listing_v1.html line 49]: syntax error: invalid attribute name: 'le_data.PRODUCTS_NAME' (Smarty_Compiler.class.php, line 1510) in /var/www/vhosts/meine-domain.de/httpdocs/xtcommerce/includes/classes/Smarty_2.6.6/Smarty.class.php on line 1088

ich gebe auf

Vielen vielen Dank für deine Mühe !!!

Gruß

Jeannie
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
Antwort

Lesezeichen

Stichworte
spaltig

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


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Product listing 3 Spaltig? digitaltex Shopbereich 2 31.05.2006 15:40


Alle Zeitangaben in WEZ +1. Es ist jetzt 09:36 Uhr.

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

xt:Commerce is a SafeCharge brand