Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Luke99

Archived
  • Posts

    93
  • Joined

  • Last visited

Profile Information

  • Real Name
    Luke

Luke99's Achievements

  1. I got the sort to work. Here's the code: Original code from "customer_testimonials.php" <?php if ($testimonial_id != '') { $full_testimonial = tep_db_query("select * FROM " . TABLE_CUSTOMER_TESTIMONIALS . " WHERE testimonials_id = $testimonial_id"); } else { $full_testimonial = tep_db_query("select * FROM " . TABLE_CUSTOMER_TESTIMONIALS . " WHERE status = '1' "); } while ($testimonials = tep_db_fetch_array($full_testimonial)) { $testimonial_array[] = array('id' => $testimonials['testimonials_id'], 'author' => $testimonials['testimonials_name'], 'testimonial' => $testimonials['testimonials_html_text'], 'word_count' => tep_word_count($testimonials['testimonials_html_text'], ' '), 'url' => $testimonials['testimonials_url'], 'url_title' => $testimonials['testimonials_url_title']); } require(DIR_WS_MODULES . 'customer_testimonials.php'); ?> Replace with: <?php if ($testimonial_id != '') { $full_testimonial = tep_db_query("select * FROM " . TABLE_CUSTOMER_TESTIMONIALS . " WHERE testimonials_id = $testimonial_id"); } else { $full_testimonial = tep_db_query("select * FROM " . TABLE_CUSTOMER_TESTIMONIALS . " WHERE status = '1' order by testimonials_id DESC"); } while ($testimonials = tep_db_fetch_array($full_testimonial)) { $testimonial_array[] = array('id' => $testimonials['testimonials_id'], 'author' => $testimonials['testimonials_name'], 'testimonial' => $testimonials['testimonials_html_text'], 'word_count' => tep_word_count($testimonials['testimonials_html_text'], ' '), 'url' => $testimonials['testimonials_url'], 'url_title' => $testimonials['testimonials_url_title']); } require(DIR_WS_MODULES . 'customer_testimonials.php'); ?> Enjoy!
  2. By default the customer testimonials displays from oldest to newest. I want the newest on top! Hopefully someone has coded this already.... :thumbsup:
  3. The best help I can offer is... "pay someone to do it" I've installed many, many modules and I couldn't get this one to work...... Good luck ;)
  4. Sorry I don't have any answers, but I can tell you that I got mine installed successfully at getafreelancer.com for about $50..... Worth every penny.... :thumbsup:
  5. There's a fix for this. Check the contributions....
  6. Has anyone been getting an error message on their status bar (bottom left) when checkout_payment.php loads? When you click on this error it displays a little popup Windows message. This one reads: Error: Expected '}' I believe the file that is the culprit is "modules\payment\psigate_xml.php". It shows 35 occurences of the '{' but only 34 occurences of the '}' Could this be causing problems? I ask because, I have been having intermitent problems, where clients are getting bounced back to the payment page after clicking to confirm their orders..... Peace
  7. Nevermind.......i should have RTFM.......... forgot to add the define in database..... sorry :-"
  8. Ok, so I added a forward slash in there like so: require_once(DIR_FS_CATALOG . "/" . DIR_WS_MODULES . 'payment/psigate_xml/class.psigate_xml.php'); and it works again. But now i'm still getting the db error: Here's the header from PHPMyAdmin: Any ideas?
  9. Hi Jason, firstly thanks for the code and secondly I was getting an error (Cant find database)(which I don't understand, since I can see it clear as day in my PHPmyAdmin) before changing the line above but now i'm getting an error which I see that the URL is wrong "public_htmlincludes" there's a forward slash missing here.... Seems so simple, but I can't see what I did wrong....Can you help?
  10. I would also like to know this...been trying to figure it out since yesterday... :-"
  11. Can't help you here, I can't even get any tax to show up... I have the Canadian tax mod... Did you have to modify anything?
  12. Re-load your sql file to update your database...just look for the one that has "products_options_types" in it...
  13. Is there something i'm supposed to edit in the .htaccess file in order to be able to view this file from the admin? Coz right now, it only works without it... No biggy I suppose...
×
×
  • Create New...