hi,
Danke Dir.
nen Moment lang dachte, "ach das ist alles...."
Habe folgende Zeilen in die categories.php integriert (am Ende des Codes..)
//Einschub Anzeige Produktgesamtanzahl
$products_query = xtc_db_query("select count(*) as count from " . TABLE_PRODUCTS . " where products_status = '1'");
$products = xtc_db_fetch_array($products_query);
$maxprod= '<center>' . $products['count'] . '</center>';
$smarty->assign('maxProd', $maxprod);
//Einschub Ende
Nun habe ich erwartet in der box_categories.html ?ber die Zeilen
//<td class="bodymain">
<!#{$maxProd} BEGIN -->
{$maxProd}
<!#{$maxProd} END -->
<!#{$BOX_CONTENT} BEGIN -->
{$BOX_CONTENT}
<!#{$BOX_CONTENT} END -->
//</td>
eine zentrierte Ausgabe der Produktgesamtzahl ausgegeben bekomme.
Da hab ich mich aber gewaltig geirrt, was jemand warum??
Ausgabe gleich null, Box ist unver?ndert??
Vielen Dank,
Pirat
|