am: 22. Juli 2012, 00:45:29
Habe gerade 1d aufgespielt. Kategorien werden nicht angezeigt.
Liegt an der SP1c categories_view.php - habe alte aufgespielt und diese wird geladen. Mit den Änderungen für den SP1c wird categories_view.php nicht geladen.
Woran liegt das?
ALT:
defined('_VALID_XTC') or
die('Direct Access to this location is not allowed.'); // get sorting option and switch accordingly if ($_GET['sorting']) { switch ($_GET['sorting']){ NEU:
defined('_VALID_XTC') or
die('Direct Access to this location is not allowed.'); $action = (isset($_GET['action']) ?
$_GET['action'] : ''); $search = (isset($_GET['search']) ?
$_GET['search'] : ''); // get sorting option and switch accordingly $sorting = (isset($_GET['sorting']) ?
$_GET['sorting'] : ''); if (xtc_not_null
($sorting)) { switch ($sorting) { -----
ALT:
case 'sort' :
$catsort = 'c.sort_order ASC';
$prodsort = 'p.products_sort ASC';
break;
case 'sort-desc' :
$catsort = 'c.sort_order DESC';
$prodsort = 'p.products_sort DESC';
NEU:
case 'sort' : $catsort = 'c.sort_order ASC'; $prodsort = (isset($_GET['cPath']) && $_GET['cPath'] != '0') ?
'p.products_sort ASC' : 'p.products_startpage_sort ASC'; //web28 2012-03-11 Fix products_startpage_sort break; case 'sort-desc' : $catsort = 'c.sort_order DESC'; $prodsort = (isset($_GET['cPath']) && $_GET['cPath'] != '0') ?
'p.products_sort DESC' : 'p.products_startpage_sort DESC'; //web28 2012-03-11 Fix products_startpage_sort break; ALT:
} else {
$catsort = 'c.sort_order, cd.categories_name ASC';
$prodsort = 'p.products_sort, pd.products_name ASC';
}
NEU:
} else { $catsort = 'c.sort_order, cd.categories_name ASC'; $prodsort = (isset($_GET['cPath']) && $_GET['cPath'] != '0') ?
'p.products_sort, pd.products_name ASC' : 'p.products_startpage_sort, pd.products_name ASC'; //web28 2012-03-11 Fix products_startpage_sort } // BOF DokuMan - 2011-03-05 - show category name in heading title $category_query_name = xtc_db_query
("SELECT categories_name
FROM " . TABLE_CATEGORIES_DESCRIPTION
. "
WHERE categories_id = '" . $current_category_id . "'
AND language_id = " . (int
)$_SESSION['languages_id']); $category_name = xtc_db_fetch_array
($category_query_name); // EOF DokuMan - 2011-03-05 - show category name in heading title Linkback: https://www.modified-shop.org/forum/index.php?topic=21267.0