Jump to content

richard101000

Members
  • Content count

    41
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi, So on the product info page I've got the main image and then some additional images using the add larger image function. These show as small thumbnails on the product info page. Which file do I have to alter to change the sizes of these? I've had a look and had a google but still can't find it. Am running BS Edge Thanks in advanced!
  2. Hi, Before I install an addon does BS Edge not come with a function to allow customers to submit a testimonials? I see they're gone through the effort of making this through admin etc just doesn't make sense they haven't gone all the way and added a function to let customers submit a testimonial unless I missed it? Thanks in advanced Richard!!
  3. Thanks I will give that ago in a little bit and let you know how it went!
  4. Right so that got rid of that error but now when I click on a category it says: No database selected...Ive narrowed it down to that one change above which can be seen below, can anyone help? catalog/includes/classes/split_page_results.php Replace the following: $count_query = tep_db_query("select count(" . $count_string . ") as total " . substr($this->sql_query, $pos_from, ($pos_to - $pos_from))); $count = tep_db_fetch_array($count_query); $this->number_of_rows = $count['total']; with if( pos_having ) $pos_shorter = 0; // Check if having is present in query else $pos_shorter = $pos_from; $finalquery = "select count(" . $count_string . ") as total, count($count_string) as cnt " . substr($this->sql_query, $pos_from, $pos_to-$pos_shorter); $result = mysql_query($this->sql_query) or die(mysql_error()); $matches = mysql_num_rows($result); $this->number_of_rows = $matches;
  5. Thanks worked a treat! Shame i cant say the same about the addon!
  6. Am trying to install an addon and I get the following error Deprecated: mysql_query(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead The code is: if( pos_having ) $pos_shorter = 0; // Check if having is present in query else $pos_shorter = $pos_from; $finalquery = "select count(" . $count_string . ") as total, count($count_string) as cnt " . substr($this->sql_query, $pos_from, $pos_to-$pos_shorter); $result = mysql_query($this->sql_query) or die(mysql_error()); $matches = mysql_num_rows($result); $this->number_of_rows = $matches; Can anyone help please?
×