Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

cochien

Archived
  • Posts

    4
  • Joined

  • Last visited

Everything posted by cochien

  1. Ok i've find the problem (sorry for my english...) When you use newsletter manager (newsletter.php) you can chose the module to use (newsletter/newsletter_subscriber/products_notification). If you use newsletter_subscriber you use the function : function newsletter_subscribers($header, $title, $contenta, $unsubscribea, $unsubscribeb, $footer) (in admin/modules/newsletters/newsletter_subscribers.php) If you use another module you use this function : function newsletter($title, $content) (in admin/modules/newsletters/newsletter.php) So, you can see that some parameters are missing... Change that : in admin/modules/newsletters/newsletter.php change : function newsletter($title, $content) in function newsletter_subscribers($header, $title, $content, $unsubscribea, $unsubscribeb, $footer) idem in products_notification.php in admin/newsletter.php next elseif ($HTTP_GET_VARS['action'] == 'send') { replace : $newsletter_query = tep_db_query("select title, content, module from " . TABLE_NEWSLETTERS . " where newsletters_id = '" . tep_db_input($nID) . "'"); $newsletter = tep_db_fetch_array($newsletter_query); by $newsletter_query = tep_db_query("select p.title, p.content, p.module, q.header, q.footer, q.unsubscribea, q.unsubscribeb from " . TABLE_NEWSLETTERS . " p, " . TABLE_SUBSCRIBERS_INFOS . " q where p.newsletters_id = '" . tep_db_input($nID) . "' "); $newsletter = tep_db_fetch_array($newsletter_query); after... replace $module = new $module_name($nInfo->title, $nInfo->content); by $module = new $module_name($nInfo->header, $nInfo->title, $nInfo->content, $nInfo->unsubscribea, $nInfo->unsubscribeb, $nInfo->footer); inthe same file find } elseif ($HTTP_GET_VARS['action'] == 'confirm') { and make the same changes as below..
  2. I've got same problem, have you find a solution ? bye;
  3. //ben voui pourquoi pas ? ok no problem if you have time....
  4. Thanks for contribution, I'm like JeanCarlo, i've tryed to install, but ther is too much errors with database and fields, like this : pruduct_price1 not found in table products... in admin/catagories.php, you write a query who use field of quantityController 5.1, but i dont want install this package. sorry for my n'glish ;-)
×
×
  • Create New...