#1 (permalink)  
Alt 27.05.2008, 00:00
Neuer Benutzer
 
Registriert seit: 30.12.2007
Beiträge: 2
Standard Artikel in Boxen- und nicht Tabellenansicht

Hallo,

kann mir einer sagen welcher Codeschnipsel zur Anzeige der Produktboxen zuständig ist.

Der Hintergrund: Folgende Datei erzeugt "Neue Produkt" die Artikelansicht in Boxen, standardmäßig sind die normalen Artkel Listenartig aufgeführt (was ich umstellen möchte). Welche Skriptteile müssten getauscht werden?

Herzlichen dank

mfg goody


PHP-Code:
{config_load file="$language/lang_$language.conf" section="new_products"}
<
table width="100%" border="0" cellspacing="0" cellpadding="0" id="table4">
<
tr>
{foreach 
name=aussen item=module_data from=$module_content}
{
php$col++; 
{/
php}
<
td>
<
table border="0" width="100%" cellspacing="0" cellpadding="0" id="table5">
<
tr>
<
td>
<
table style="border-bottom: 1px solid; border-right: 1px solid;  border-left: 1px solid; border-top: 1px solid; border-color: #676767;" border="0" width="100%" cellspacing="0" cellpadding="0" id="table6">
<
tr>
<
td>
<
table width="100%" border="0" cellspacing="0" cellpadding="3">
<
tr>
<
td class="main" style="border-bottom: 1px solid; border-color: #676767;" bgcolor="#7286A8"><a href="{$module_data.PRODUCTS_LINK}"><font color="#000000">{$module_data.PRODUCTS_NAME|truncate:40:"...":true}</font></a></td>
</
tr>
</
table>
<
table width="100%" border="0" cellpadding="0" cellspacing="4" id="table17">
<
tr
<
td rowspan="4" >
<
table  width="100%" border="0" cellpadding="0" cellspacing="4" id="table18">
<
tr
<
td class="main" height="70">{if $module_data.PRODUCTS_IMAGE}<a href="{$module_data.PRODUCTS_LINK}"><img src="{$module_data.PRODUCTS_IMAGE}alt="{$module_data.PRODUCTS_NAME}/></a>{/if}</td>
</
tr><tr
<
td class="main"><table border="0" width="100%" cellspacing="0" cellpadding="0" id="table19">
<
tr
Dies ist die Tabellenartige Ansicht, welche zu ändern ist:

PHP-Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html dir="ltr" lang="de">
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" /> 
<
meta http-equiv="Content-Style-Type" content="text/css" />

<!--
    
This OnlineStore is brought to you by XT-CommerceCommunity made shopping
    XTC is a free open source e
-Commerce System
    created by Mario Zanier 
Guido Winger and licensed under GNU/GPL.
    
Information and contribution at http://www.xt-commerce.com
-->
<
meta name="generator" content="(c) by xt:Commerce v3.0.4 SP2.1 , http://www.xt-commerce.com" />
<
meta name="robots" content="index,follow" />
<
meta name="language" content="de" />
<
meta name="author" content="" />
<
meta name="publisher" content="" />
<
meta name="company" content="" />
<
meta name="page-topic" content="shopping" />
<
meta name="reply-to" content="xx@xx.com" />
<
meta name="distribution" content="global" />
<
meta name="revisit-after" content="14" />

<
meta name="description" content="" />
<
meta name="keywords" content="" />
<
title>****</title>
<
base href="http://*****/shop1/" />
<
link rel="stylesheet" type="text/css" href="templates/****/stylesheet.css" />
<
script type="text/javascript"><!--
var 
selected;
var 
submitter null;

function 
submitFunction() {
    
submitter 1;
}
function 
popupWindow(url) {
  
window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,left=150')
}  

function 
selectRowEffect(objectbuttonSelect) {
  if (!
selected) {
    if (
document.getElementById) {
      
selected document.getElementById('defaultSelected');
    } else {
      
selected document.all['defaultSelected'];
    }
  }

  if (
selectedselected.className 'moduleRow';
  
object.className 'moduleRowSelected';
  
selected object;

// one button is not an array
  
if (document.getElementById('payment'[0])) {
    
document.getElementById('payment'[buttonSelect]).checked=true;
  } else {
    
//document.getElementById('payment'[selected]).checked=true;
  
}
}

function 
rowOverEffect(object) {
  if (
object.className == 'moduleRow'object.className 'moduleRowOver';
}

function 
rowOutEffect(object) {
  if (
object.className == 'moduleRowOver'object.className 'moduleRow';
}

function 
popupImageWindow(url) {
  
window.open(url,'popupImageWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,left=150')
}
//--></script>
<script type="text/javascript"><!--



//--></script>
</head>
<
body>

<
div id="hdw">
<
div id="hdb">
<
div id="header_nav">****</div>

<
div id="logo"><a href="#" title="#"><img src="templates/****/img/logo.png" alt="shop" border="0" /></a></div>
</
div>
</
div>

<
table style="border-bottom: 0px solid; border-color: #747474;" border="0" width="970" cellspacing="0" cellpadding="0" align="center" id="table1">
  <
tr>
    <
td width="950">
<
table width="950" border="0" align="center" cellpadding="0" cellspacing="0" id="table23">
  <
tr>
    <
td height="41" class="nav_bg">
    <
table width="950" border="0" cellpadding="0" cellspacing="0" id="table24">
      <
tr>

        <
td align="right"><class="nav_i" href="index.php">Startseite</a>&nbsp;|&nbsp;<class="nav_i" href="http://****/account.php">Ihr Konto</a>&nbsp;|&nbsp;<class="nav_i" href="http://***/shopping_cart.php">Warenkorb</a>&nbsp;|&nbsp;<class="nav_i" href="http://***/checkout_shipping.php">Kasse</a>&nbsp;|&nbsp;<class="nav_i" href="http://****/logoff.php">Abmelden</a></td>
        <
td align="right">&nbsp;</td>
      </
tr>
    </
table></td>

  </
tr>
  <
tr>
    <
td height="9" class="nav_bg_unten"></td>
  </
tr>
</
table>
<
table width="950" border="0" align="center" cellpadding="0" cellspacing="0" id="table25">
  <
tr>
    <
td width="10"></td>
    <
td width="180" valign="top">
<
table width="180" border="0" cellspacing="0" cellpadding="0">

  <
tr>
    <
td width="7" height="25" class="bg_top_left"></td>
    <
td class="infoBoxHeading">Kategorien</td>
    <
td width="7" class="bg_top_right"></td>
  </
tr>
</
table>
<
table style="border-right: 1px solid;  border-left: 1px solid; border-color: #91A1BB;" width="180" border="0" cellspacing="0" cellpadding="0">
  <
tr>
    <
td class="boxText"><div id="nav"><table width="100%"><tr><td onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)"><b><a

 
..........................................

  </
tr>
  </
table>
<
table border="0" width="180" cellspacing="0" cellpadding="0" id="table1">
    <
tr>
        <
td height="9" class="bg_unten"></td>
    </
tr>
</
table>
<
table width="1" border="0" cellspacing="0" cellpadding="0">
  <
tr>
    <
td height="8"></td>

  </
tr>
</
table>
<
table width="180" border="0" cellspacing="0" cellpadding="0">
  <
tr>
    <
td width="7" height="25" class="bg_top_left"></td>
    <
td class="infoBoxHeading">Suche</td>
    <
td width="7" class="bg_top_right"></td>
  </
tr>
</
table>
<
table style="border-bottom: 1px solid; border-right: 1px solid;  border-left: 1px solid; border-color: #91A1BB;" width="180" border="0" cellspacing="0" cellpadding="4">

  <
tr>
    <
td class="boxText">
    
    <
form id="quick_find" action="http://*****/advanced_search_result.php" method="get">
<
table width="150"  border="0" cellpadding="2" cellspacing="0" id="table1">
<
tr>
<
td><input type="text" name="keywords" size="20" maxlength="30" /><br><input type="image" src="templates/***/buttons/german/button_quick_find.gif" alt="BOX_HEADING_SEARCH" title=" BOX_HEADING_SEARCH " /><br>
<
a href="http://*****/advanced_search.php">erweiterte Suche</a></td>
</
tr>
</
table>
</
form>
    
    </
td>
  </
tr>

</
table>
<
table width="1" border="0" cellspacing="0" cellpadding="0">
  <
tr>
    <
td height="8"></td>
  </
tr>
</
table>
<
table width="180" border="0" cellspacing="0" cellpadding="0">
  <
tr>
    <
td width="7" height="25" class="bg_top_left"></td>
    <
td class="infoBoxHeading">Shop Informationen</td>

    <
td width="7" class="bg_top_right"></td>
  </
tr>
</
table>
<
table style="border-right: 1px solid;  border-left: 1px solid; border-color: #91A1BB;" width="180" border="0" cellspacing="0" cellpadding="4">
  <
tr>
    <
td class="boxText"><a href="http://****/shop1/shop_content.php?coID=1">Lieferund Versandkosten</a><br><a href="http://*****/shop1/shop_content.php?coID=3">Unsere AGB's</a><br><a href="http://****/shop_content.php?coID=4">Impressum</a><br><a href="http://*****/shop1/shop_content.php?coID=7">Kontakt</a><br></td>
  </tr>
  </table>

<table border="0" width="180" cellspacing="0" cellpadding="0" id="table1">
    <tr>
        <td class="bg_unten" height="9"></td>
    </tr>
</table>
<table width="1" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="8"></td>
  </tr>
</table>
<table width="180" border="0" cellspacing="0" cellpadding="0">

  <tr>
    <td width="7" height="25" class="bg_top_left"></td>
    <td class="infoBoxHeading">Neue Artikel</td>
    <td class="infoBoxHeading"><span class="box_mitte"><a href="http://****/shop1/products_new.php"><img src="templates/****/img/icon_more.gif" alt="" /></a></span></td>
    <td width="7" class="bg_top_right"></td>
  </tr>
</table>
<table style="border-right: 1px solid;  border-left: 1px solid; border-color: #91A1BB;" width="180" border="0" cellspacing="0" cellpadding="4">
  <tr>

    <td class="boxText"><div align="center"> <br />
        <a class="banner_mitte_hintergrund" href="http://******/product_info.php?info=p27_****.html">DWM 40 L Winkelmesser</a><br />
      </div>
      <table width="98%" border="0" cellpadding="0" cellspacing="0" id="table2">
        <tr>
          <td class="boxTextBG1" align="center"><strong> 177,31 EUR</strong></td>
        </tr>

      </table></td>
  </tr>
  </table>
<table border="0" width="180" cellspacing="0" cellpadding="0" id="table3">
    <tr>
        <td class="bg_unten" height="9"></td>
    </tr>
</table>
<table width="1" border="0" cellspacing="0" cellpadding="0">
  <tr>

    <td height="8"></td>
  </tr>
</table>
<table width="180" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="7" height="25" class="bg_top_left"></td>
    <td class="infoBoxHeading">Kundengruppe</td>
    <td width="7" class="bg_top_right"></td>
  </tr>

</table>
<table style="border-right: 1px solid;  border-left: 1px solid; border-color: #91A1BB;" width="180" border="0" cellspacing="0" cellpadding="4">
  <tr>
    <td class="boxText"><img src="admin/images/icons/admin_status.gif" alt="" width="32" height="32" /><br />Kundengruppe:<b>Admin</b><br /></td>
  </tr>
  </table>
<table border="0" width="180" cellspacing="0" cellpadding="0" id="table1">
    <tr>
        <td class="bg_unten" height="9"></td>

    </tr>
</table></td>
    <td width="10"></td>
    <td width="550" valign="top">
    <table width="550" border="0" cellspacing="0" cellpadding="0" id="table26">
      <tr>
        <td valign="top" class="main"><strong>Sie sind hier :</strong> <a href="http://****" class="headerNavigation">Startseite</a> &raquo; <a href="http://****/index.php" class="headerNavigation">Katalog</a> &raquo; <a href="http://****/shop1/index.php?cat=c2_****.html" class="headerNavigation">***</a> &raquo; <a href="http://****/shop1/index.php?cat=c24_****.html" class="headerNavigation">****</a> &raquo; <a href="http://****/index.php?cat=c26_****.html" class="headerNavigation">****</a></td>

      </tr>
      <tr>
        <td height="10" valign="top"></td>
      </tr>
      <tr>
        <td valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr valign="top">
    <td class="contentsTopics">Kontrastmittel</td>

    <td align="right">&nbsp;</td>
  </tr>
  <tr valign="top">
    <td class="contentsTopics"></td>
    <td align="right">&nbsp;</td>
  </tr>
  
</table>
<br /><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;">

           
          <tr> 
            <td rowspan="2" style="border-bottom: 1px solid; border-color: #cccccc;">&nbsp;            </td>
            <td align="left" class="main"><a href="http://*****/shop1/product_info.php?info=p16_Lumilux-blau.html"><strong>Lumilux blau</strong></a></td>
          </tr>
          <tr>
          <td align="left" class="main" style="border-bottom: 1px solid; border-color: #cccccc;">**** 
            <br />
            <strong> 201,11 EUR </strong><br />

            incl. 19 % UST exkl.<script language="javascript">document.write('
<a href="javascript:newWin=void(window.open(\'http://*****/shop1/popup_content.php?coID=1\', \'popup\', \'toolbar=0, scrollbars=yes, resizable=yes, height=400, width=400\'))">Versandkosten</a>');</script><noscript><a href="http://***/shop1/popup_content.php?coID=1"target=_blank">Versandkosten</a></noscript> 
             
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td align="right"><table width="200" border="0">
                    <tr>
                      <td align="right">                          </td>
                    </tr>

                  </table></td>
                </tr>
            </table>            </td>
          </tr> 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
Antwort

Lesezeichen

Stichworte
artikel, boxen, tabellenansicht

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
neue Artikel in allen Unterkategorien anzeigen shd Shopbereich 6 24.02.2011 00:06
Boxen ausblenden - Varianten JoyW Installation und Konfiguration 2 01.10.2007 10:02


Alle Zeitangaben in WEZ +1. Es ist jetzt 03:14 Uhr.

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

xt:Commerce is a SafeCharge brand