#1 (permalink)  
Alt 28.07.2004, 09:14
 
Registriert seit: 27.07.2004
Beiträge: 30
Standard

Artikelname anstatt artikelnummer in navigation?

zur zeit:
Startseite ? Katalog ? CD ? 100001

ziel:
Startseite ? Katalog ? CD ? Produktname

wie mach ich das?

danke
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #2 (permalink)  
Alt 28.07.2004, 10:06
 
Registriert seit: 27.07.2004
Beiträge: 30
Standard

Hallo,

habs rausgefunden :rock:

wen es interessiert:

in der datei:

includes/application_top.php
Code:
// add the products model to the breadcrumb trail
if (isset($_GET['products_id'])) {
 $model_query = xtc_db_query("select products_model from " . TABLE_PRODUCTS . " where products_id = '" . (int)$_GET['products_id'] . "'");
 $model = xtc_db_fetch_array($model_query);
 $breadcrumb->add($model['products_model'], xtc_href_link(FILENAME_PRODUCT_INFO, 'cPath=' . $cPath . '&products_id=' . (int)$_GET['products_id']));
}
ersetzen mit:
Code:
 // add the products model to the breadcrumb trail
  if (isset($_GET['products_id'])) {
  $model_query = xtc_db_query("select products_name from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = '" . (int)$_GET['products_id'] . "'");
  $model = xtc_db_fetch_array($model_query);
  $breadcrumb->add($model['products_name'], xtc_href_link(FILENAME_PRODUCT_INFO, 'cPath=' . $cPath . '&products_id=' . (int)$_GET['products_id']));
 }
gr?sse, mt
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
Antwort

Lesezeichen

Stichworte
anstatt, artikelname, artikelnummer, navigation

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 01:49 Uhr.

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

xt:Commerce is a SafeCharge brand