|
||||
|
Hallo,
einfach ein bisschen suchen: http://www.xt-commerce.com/modules/ipboard...hte,and,artikel Gru? Sascha :?: |
|
|||
|
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,"acti on=reset") . '">' . xtc_image(DIR_WS_ICONS.'button_reset.gif', Reset) . '</a>'; ?></td> </tr> </table></td> </tr> <!-- wozu End --> Geändert von paulhase (22.01.2008 um 15:02 Uhr) |
![]() |
| Lesezeichen |
| Stichworte |
| artikel, besuchte, reseten |
| Themen-Optionen | |
| Ansicht | |
|
|