florian_go Posted October 4, 2004 Report Share Posted October 4, 2004 wie und wo in der datenbank kann ich diese anzeige reseten. denn sie ist so hoch weil ich so viel getestet habe. nun soll sie aber bei 0 starten da der shop jetzt on geht. Link to comment Share on other sites More sharing options...
sazetueb Posted October 4, 2004 Report Share Posted October 4, 2004 Hallo, einfach ein bisschen suchen: http://www.xt-commerce.com/modules/ipboard...hte,and,artikel Gru? Sascha :?: Link to comment Share on other sites More sharing options...
sazetueb Posted October 4, 2004 Report Share Posted October 4, 2004 http://www.xt-commerce.com/modules/ipboard...-post-2394.html Sorry - Fehler im Link :pst: Link to comment Share on other sites More sharing options...
paulhase Posted January 21, 2008 Report Share Posted January 21, 2008 Es geht noch einfacher und das sogar mit ein Button. Ihr müßt nur die Daten im admin/stats_products_viewed.php einfügen. Passendem Button in admin/images/icons einfügen. admin/stats_products_viewed.php dies in Zeile ca. 14 einfügen // wozu Begin if ($HTTP_GET_VARS['action']=='reset'){ $reset_query_raw = "update " . TABLE_PRODUCTS_DESCRIPTION . " set products_viewed = '0'"; xtc_db_query($reset_query_raw); xtc_redirect(xtc_href_link(FILENAME_STATS_PRODUCTS_VIEWED, 'reset=1')); } if ($HTTP_GET_VARS['reset']) { $messageStack->add(TEXT_VIEWS_RESET, 'success'); } // wozu End und dies in Zeile ca. 94 einfügen <!-- wozu Begin --> <tr> <td colspan="3"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td align="center" colspan="2"><?php echo '<a href="' . xtc_href_link(FILENAME_STATS_PRODUCTS_VIEWED,"action=reset") . '">' . xtc_image(DIR_WS_ICONS.'button_reset.gif', Reset) . '</a>'; ?></td> </tr> </table></td> </tr> <!-- wozu End -->pdfexport052.zip Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.