conny2540 Posted June 4, 2006 Report Share Posted June 4, 2006 Hi, Was mache ich falsch ? template xtc4. Ich m?chte dass cross selling gleich unter der Produktbeschreibung haben, also gleich unter add qty/ add cart button, weil bei mehrere Produktbildern, das Ganze zu weit unten steht. Ich habe das Template soweit ?ndern k?nnen, aber was ich nicht mehr hinkriege ist, dass auf der linken Seite die Produkbilder angezeigt werden (products_image). Dort stehen jetzt lediglich der Link des Bildes und das Bild ist weg. Was habe ich im Template falsch gemacht ? Kann mir da jemand auf die Spr?nge helfen, habe schon alles gecheckt, nirgendwo was falsch gesetzt, aber anscheinend doch ?bersehen. LG Conny Link to comment Share on other sites More sharing options...
regor Posted June 4, 2006 Report Share Posted June 4, 2006 sorry........ Link to comment Share on other sites More sharing options...
conny2540 Posted June 5, 2006 Author Report Share Posted June 5, 2006 Hi Regor, ist Original xtc. Hier wurde nichts ge?ndert. Vers. 3.0.4. sp1 hier der code (oder meinst Du eine andere index.php ?, habe auch noch eine datei mit dem lgeichen namen im Unterordner admin stehen und auch jewelis in lang/german/admin sowie lang/english/admin. Alle sind oroginal xtc und dort wurde nichts ge?ndert.) Welche davon ist gemeint? hier mal der code vom root xtcommerce: <?php /* ----------------------------------------------------------------------------------------- $Id: index.php 1321 2005-10-26 20:55:07Z mz $ XT-Commerce - community made shopping http://www.xt-commerce.com Copyright ? 2003 XT-Commerce ----------------------------------------------------------------------------------------- based on: ? 2000-2001 The Exchange Project (earlier name of osCommerce) ? 2002-2003 osCommerce(default.php,v 1.84 2003/05/07); www.oscommerce.com ? 2003 nextcommerce (default.php,v 1.13 2003/08/17); www.nextcommerce.org Released under the GNU General Public License ----------------------------------------------------------------------------------------- Third Party contributions: Enable_Disable_Categories 1.3 Autor: Mikel Williams | [email protected] Customers Status v3.x ? 2002-2003 Copyright Elari [email protected] | www.unlockgsm.com/dload-osc/ | CVS : http://cvs.sourceforge.net/cgi-bin/viewcvs...by=date#dirlist Released under the GNU General Public License ---------------------------------------------------------------------------------------*/ include ('includes/application_top.php'); // create smarty elements $smarty = new Smarty; // include boxes require (DIR_FS_CATALOG.'templates/'.CURRENT_TEMPLATE.'/source/boxes.php'); // the following cPath references come from application_top.php $category_depth = 'top'; if (isset ($cPath) && xtc_not_null($cPath)) { $categories_products_query = "select count(*) as total from ".TABLE_PRODUCTS_TO_CATEGORIES." where categories_id = '".$current_category_id."'"; $categories_products_query = xtDBquery($categories_products_query); $cateqories_products = xtc_db_fetch_array($categories_products_query, true); if ($cateqories_products['total'] > 0) { $category_depth = 'products'; // display products } else { $category_parent_query = "select count(*) as total from ".TABLE_CATEGORIES." where parent_id = '".$current_category_id."'"; $category_parent_query = xtDBquery($category_parent_query); $category_parent = xtc_db_fetch_array($category_parent_query, true); if ($category_parent['total'] > 0) { $category_depth = 'nested'; // navigate through the categories } else { $category_depth = 'products'; // category has no products, but display the 'no products' message } } } require (DIR_WS_INCLUDES.'header.php'); include (DIR_WS_MODULES.'default.php'); $smarty->assign('language', $_SESSION['language']); $smarty->caching = 0; if (!defined(RM)) $smarty->load_filter('output', 'note'); $smarty->display(CURRENT_TEMPLATE.'/index.html'); include ('includes/application_bottom.php'); ?> Link to comment Share on other sites More sharing options...
regor Posted June 5, 2006 Report Share Posted June 5, 2006 sorry........ Link to comment Share on other sites More sharing options...
conny2540 Posted June 6, 2006 Author Report Share Posted June 6, 2006 Hi, das habe ich mir fast gedacht.... Meinst Du nicht evtl. die product_info.html ? Wenn nicht, dann hier die index.html. Ist auch original xtc4, bis auf die Anordnung der Boxen: config_load file="$language/lang_$language.conf" section="index"} <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td></td> </tr> <tr> <td style="border-top: 1px solid; border-bottom: 1px solid; border-color: #C5C5C5;"><table width="100%" border="0" cellpadding="2" cellspacing="0"> <tr> <td class="main">{$navtrail}</td> <td align="right" class="main">{if $account}{php} if (isset($_SESSION['customer_id'])) { {/php}{#link_logoff#} | {php} } {/php}{/if}{if $account}{#link_account#} | {/if}{#link_cart#} | {#link_checkout#}</td> </tr> </table></td> </tr> <tr> <td><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td class="navLeft" valign="top"><table width="184" border="0" cellpadding="0" cellspacing="0"> <tr> <td>{$box_SEARCH}{$box_CATEGORIES}{$box_ADD_QUICKIE}{$box_CONTENT}{$box_INFORMATION}{$box_REVIEWS}{$box_LAST_VIEWED}</td> </tr> </table></td> <td valign="top"><table width="100%" border="0" cellspacing="4" cellpadding="0"> <tr> <td><table width="98%" border="0" cellpadding="0" cellspacing="0"> <tr> <td class="main">{$main_content}</td> </tr> </table></td> </tr> </table></td> <td valign="top" class="navRight"><table width="184" border="0" cellspacing="0" cellpadding="0"> <tr> <td>{$box_ADMIN}{$box_LANGUAGES}{$box_INFOBOX}{$box_CART}{$box_LOGIN}{$box_NEWSLETTER}{$box_BESTSELLERS} {$box_CURRENCIES} {$box_MANUFACTURERS_INFO}{$box_MANUFACTURERS}{$box_SPECIALS}{$box_WHATSNEW} </td> </tr> </table></td> </tr> <tr> <td colspan="3" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td style="border-top: 4px solid; border-top: 4px solid; border-color: #C5C5C5;"></td> <td style="border-top: 4px solid; border-top: 4px solid; border-color: #666666;"></td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> </table> {if $BANNER} <table width="100%" border="0" cellspacing="4" cellpadding="0"> <tr> <td align="center">{$BANNER}</td> </tr> </table> {/if} Link to comment Share on other sites More sharing options...
conny2540 Posted June 9, 2006 Author Report Share Posted June 9, 2006 Hi Regor, auch nichts entdeckt, oder ??? LG Conny Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.