Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

[Contribution] Thumbnail Category Browse


56 replies to this topic

#41 Chemo

  • Banned
  • 2,486 posts
  • Real Name:Bobby
  • Location:/usa/kentucky/richmond/

Posted 27 April 2005, 20:16

berkedam, on Apr 24 2005, 07:50 AM, said:

...
But there must be  a better way to get the price incl. taxes, i.e. a piece of code depending on what is defined in admin => Tax Rates.

Anybody willing to help?

A language independent solution for the Quick Browser would also be very much appreciated.

<{POST_SNAPBACK}>

I'm not following your questions...

The contribution already adds the tax with the same code used throughout the rest of the store (tep_add_tax). So, if it doesn't work on the thumb bar it doesn't work on the rest of your site.

The text is pulled from the database with tep_get_products_name() which is language independent.

Bobby

#42 berkedam

  • Community Member
  • 885 posts
  • Real Name:john
  • Gender:Male

Posted 27 April 2005, 20:47

Chemo, on Apr 27 2005, 10:16 PM, said:

I'm not following your questions...

The contribution already adds the tax with the same code used throughout the rest of the store (tep_add_tax).  So, if it doesn't work on the thumb bar it doesn't work on the rest of your site.

The text is pulled from the database with tep_get_products_name() which is language independent.

Bobby

<{POST_SNAPBACK}>


Hi Bobby,

thanks for answering.

Maybe I was not clearly showing the difference?
This:
$currencies->display_price($tmp['products_price'], tep_get_tax_rate($tmp['products_id']))
is NOT showing prices including 19% tax in the thumb bar.

And yes all other prices show including 19% tax which is also showig on all other neccessary components.

This IS showing catalog prices in Quick Browser including 19% tax:
$currencies->display_price($tmp['products_price']*1.19, tep_get_tax_rate($tmp['products_id']))

The difference is:
*1.19

And yes the tax-calculation before or after install of QuickBrowser with regard to other pricing was and still is working 100% correct (incl. 19%).

And all other osC'ers in the Dutch osCommerce-forum were also experiencing the same problem so i was not the only one.
"If you're working on something new, then you are necessarily an amateur."

#43 Chemo

  • Banned
  • 2,486 posts
  • Real Name:Bobby
  • Location:/usa/kentucky/richmond/

Posted 27 April 2005, 20:58

I realize the difference...and did not look close enough to recognize the obvious problem.

This:
$currencies->display_price($tmp['products_price'], tep_get_tax_rate($tmp['products_id']))
should be this:
$currencies->display_price($tmp['products_price'], tep_get_tax_rate($tmp['products_tax_class_id']))
The wrong parameter was being used for the call to tep_get_tax_rate().

Here is the fix...please be so kind as to post the solution on the other board as well.

Find this code:
	# define the column select list
	$column_list = 'p2c.products_id, p2c.categories_id, p.products_image, p.products_price, p.products_ordered';
and change it to this:
	# define the column select list
	$column_list = 'p2c.products_id, p2c.categories_id, p.products_image, p.products_price, p.products_tax_class_id, p.products_ordered';
Next, find this code:
$currencies->display_price($tmp['products_price'], tep_get_tax_rate($tmp['products_id']))
and change it to this:
$currencies->display_price($tmp['products_price'], tep_get_tax_rate($tmp['products_tax_class_id']))
All done...

As soon as the osCommerce development team releases the contribution standards I'll begin uploading revisions to existing contributions and also upload new ones. However, until there are published standards to reference I will not upload any more code. If someone wanted to update this contribution please feel free to do so.

Sorry for the confusion.

Bobby

#44 berkedam

  • Community Member
  • 885 posts
  • Real Name:john
  • Gender:Male

Posted 27 April 2005, 21:16

Thanks Bobby for your very quick reaction time.

Will post the link to this fix on the other board and will put a link in the contribution area to this post or the total cure. Let me see.

Having read many of your posts also understand your last statement.

Just tried in vain for 2 days (with a lot of help) to get another contribution running, it was not one of yours :)

Thanks again, Quick Browser Bar is much more neat now and easily adjustable :)
"If you're working on something new, then you are necessarily an amateur."

#45 maniqui

  • Community Member
  • 25 posts
  • Real Name:Julián

Posted 13 May 2005, 05:40

Hi!

I had installed this contribution a few months ago, and now i'm updating it.

I have made the changes to exclude current product (the one suggested in the Contribution page, and also the fix posted by Greg Armelin) .
But it doesnt work for me!
It still shows the current product!

I have also trying replacing my file with the one by Greg Armelin but nothing changed.

is there a minimun of products that must be showed to work?

Thanks in advance, and thanks Chemo for this great contrib.

#46 edouglas

  • Community Member
  • 17 posts
  • Real Name:Ed Douglas

Posted 13 July 2005, 17:03

Hi,

I am using this contribution and it is working fine with no problems at all - very impressive. However...

As well as being able to select products by category, the user can and will select product by manufacturer - I have put the 'fix for 1064 SQl error' mod in which stops any nasties however I would really like the thumb bar to show the set of products for the selected manufacturer. At the moment it always shows the products from the category of the selected product - which is confusing if the user originally selected a manufacturer.

Has anyone been able to (or would like to) adapt this to get the thumb bar to show the set of products by manufacturer? I've been looking at the code but am rather daunted by it!

Ed

#47 flom

  • Community Member
  • 50 posts
  • Real Name:flo m

Posted 26 September 2005, 09:07

when opening some products i get this error:

1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'BY products_ordered desc LIMIT 0, 4' at line 1

SELECT SQL_CALC_FOUND_ROWS BY products_ordered desc LIMIT 0, 4

whats wrong?

#48 holaic

  • Community Member
  • 104 posts
  • Real Name:YAN HAO

Posted 07 December 2005, 12:50

About Mutilanguages!!!

I installed this contribution, but I found the title "Quick Browser - Products In This Category" is always the same for the different languages.

Anyone knows how to solve it?

Thanks in advance.

#49 Gersio

  • Community Member
  • 12 posts
  • Real Name:Sergio Momesso
  • Location:Italy

Posted 12 December 2005, 12:19

I installed this contribution. It display the box with thumbnails very well, but there are not the column right and the footer! Now there is only this message here: "Error! Unable to determine the page link!". What's happened? Anyone can help me?

Thanks in advance
gersio

#50 kjolebutikken

  • Community Member
  • 430 posts
  • Real Name:Kjolebutikken
  • Gender:Female
  • Location:Bergen, Norway

Posted 03 March 2006, 11:23

View PostGersio, on Dec 12 2005, 01:19 PM, said:

I installed this contribution. It display the box with thumbnails very well, but there are not the column right and the footer! Now there is only this message here: "Error! Unable to determine the page link!". What's happened? Anyone can help me?

Thanks in advance


Hi anyone,
I'm using sts and had problems with nothing showing at all. I moved the code from product_info.php to includes/sts_display_output.php, and now it shows, but only in the header or footer. have tried to move the code around and also put it in includes/sts_template.html and/or includes/sts-product_infp.php instead, but can't make it work properly.

Also it only shows on the page that opens when you click on one of the categories (seems like this is the index.php file). Nothing is showing on the product_info page.

If I try to have the code both in includes/sts_display_output.php and in product_info.php, I get errormessage saying for a double call.

Can somebody help me here?
Here is the link to my shop to let you see:

http://www.kjolebutikken.com/oscdemo1/index.php

Thanks:-)
Kjolebutikken
Best regards
Kjolebutikken

#51 spencermjax

  • Community Member
  • 365 posts
  • Real Name:Randy

Posted 22 October 2006, 16:38

jbennetteasked the folowing question:

Quote

I'm wondering how I can get two or more rows of products. That way I could present all products in a category, rather than just the 8 that fit now.

I was hoping someone has been able to do something like this:

[img]http://webworktechnologies.com/wr/images/prod_img.gif[/img]

Any thoughts or ideas would be WONDERFUL!!!!

#52 spencermjax

  • Community Member
  • 365 posts
  • Real Name:Randy

Posted 27 October 2006, 06:44

Can anyone help with this?????

#53 theantiquestore

  • Community Member
  • 583 posts
  • Real Name:Rachael
  • Gender:Female

Posted 20 October 2007, 15:46

Has anyone been successful in excluding the current product on this module? I just cant seem to get it to work on thumb_bar.php.

#54 satsilem

  • Community Member
  • 3 posts
  • Real Name:satsilem

Posted 10 January 2008, 12:16

View PostHan, on Apr 21 2005, 01:57 PM, said:

Really very nice contribution!!!

What if modify it a bit so, that the visitor could SCROLL ALL PRODUCTS in the given category on the product page?

Could somebody advice how to make this?

Thanks!


Does anybody ever found a way to achieve this feature? I woulb very thankfull if you could provide me with more info.

Thanks in advance

#55 bksbeat

  • Community Member
  • 138 posts
  • Real Name:Gary

Posted 29 June 2011, 02:40

Hi Folks, This all very weird, so helpfully someone can help.
I installed this contr. months ago and it has been working 100% all the time. I am not sure if this has anything to do with it, but in the last few weeks I have installed a few contributions, i.e. featured products, kiss meta tags, seo url5.
I noticed last night that the thumnail category browse feature is not appearing at all. I went back to the contr. and checked all again - uploaded the files, checked the code. Still nothing. I also noticed that my right column (column_right.php) was not appeaing in product_info.php.
I removed the text below, and then my right column was appearing, put the code back and no right column.
<br>

<? include(DIR_WS_MODULES . 'thumb_bar.php'); ?>

</br>
<!-- body_text_eof //-->

Even though, I have it appearing in the code below as it was, the above code is not on the live file on the server otherwise I would have no right column appearing? I have no idea why this contribution is not working anymore. If anyone can shed any light that would be great. As per the contributon, it was just 2 files to upload (done) one code change in product_info.php (done).

On a different note and while you have a copy of the product_info.php, you will see on my website, i.e. www.nontando
a strange ">" appearing above the title name. No idea where this is suddently coming from? I am gussing this is coming from product_info.php, so if you can see anything in the code that may cause that, please let me know.

Thanks so much, Gary







<?php
/*
  $Id: product_info.php,v 1.97 2003/07/01 14:34:54 hpdl Exp $

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2003 osCommerce

  Released under the GNU General Public License
*/

  require('includes/application_top.php');

  require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_PRODUCT_INFO);

  $product_check_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'");
  $product_check = tep_db_fetch_array($product_check_query);
?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>

<link rel="stylesheet" href="lightbox/lightbox.css" type="text/css" media="screen" />
<script type="text/javascript" src="lightbox/prototype.js"></script>
<script type="text/javascript" src="lightbox/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="lightbox/builder.js"></script>
<script type="text/javascript" src="lightbox/lightbox.js"></script>

<?php include_once DIR_WS_MODULES . 'kiss_meta_tags/kiss_meta_tags.php'; ?> 




<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
<link rel="stylesheet" type="text/css" href="stylesheet.css">
<script language="javascript"><!--
function popupWindow(url) {
  window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,left=150')
}
//--></script>
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
<!-- header //-->
<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
<!-- header_eof //-->

<!-- body //-->
<table border="0" width="100%" cellspacing="3" cellpadding="3">
  <tr>
    <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- left_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
<!-- left_navigation_eof //-->
    </table></td>
<!-- body_text //-->
    <td width="100%" valign="top"><?php echo tep_draw_form('cart_quantity', tep_href_link(FILENAME_PRODUCT_INFO, tep_get_all_get_params(array('action')) . 'action=add_product')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0"><a href='http://www.pawanwebworld.com' target='_blank' title='Pawan Web World' alt='Pawan Web World'></a>
<?php
  if ($product_check['total'] < 1) {
?>
      <tr>
        <td><?php new infoBox(array(array('text' => TEXT_PRODUCT_NOT_FOUND))); ?></td>
      </tr>
      <tr>
        <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
      </tr>
      <tr>
        <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
          <tr class="infoBoxContents">
            <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
              <tr>
                <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
                <td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td>
                <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
<?php
  } else {
    $product_info_query = tep_db_query("select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'");
    $product_info = tep_db_fetch_array($product_info_query);

    tep_db_query("update " . TABLE_PRODUCTS_DESCRIPTION . " set products_viewed = products_viewed+1 where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and language_id = '" . (int)$languages_id . "'");





    if ($new_price = tep_get_products_special_price($product_info['products_id'])) {
      $products_price = '<s>' . $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . '</span>';
    } else {
      $products_price = $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id']));
    }

    if (tep_not_null($product_info['products_model'])) {
      $products_name = $product_info['products_name'] . '<br><span class="smallText">[' . $product_info['products_model'] . ']</span>';
    } else {
      $products_name = $product_info['products_name'];
    }
?>
      <tr>
        <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
          <tr>
            <td class="pageHeading" valign="top"><?php echo $products_name; ?></td>
            <td class="pageHeading" align="right" valign="top"><?php echo $products_price; ?></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
      </tr>
      <tr>
        <td class="main">
<?php
    if (tep_not_null($product_info['products_image'])) {
?>
          <table border="0" cellspacing="0" cellpadding="2" align="right">
            <tr>
              <td align="center" class="smallText">
<script language="javascript"><!--
document.write('<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank" rel="lightbox" title="'.$product_info['products_name'].'" >' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>');
//--></script>
<noscript>
<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank" rel="lightbox" title="'.$product_info['products_name'].'" >' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>');
</noscript>
              </td>
            </tr>
          </table>
<?php
    }
?>
          <p><?php echo stripslashes($product_info['products_description']); ?></p>
<?php
    $products_attributes_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_ATTRIBUTES . " patrib where patrib.products_id='" . (int)$HTTP_GET_VARS['products_id'] . "' and patrib.options_id = popt.products_options_id and popt.language_id = '" . (int)$languages_id . "'");
    $products_attributes = tep_db_fetch_array($products_attributes_query);
    if ($products_attributes['total'] > 0) {
?>
          <table border="0" cellspacing="0" cellpadding="2">
            <tr>
              <td class="main" colspan="2"><?php echo TEXT_PRODUCT_OPTIONS; ?></td>
            </tr>
<?php
      $products_options_name_query = tep_db_query("select distinct popt.products_options_id, popt.products_options_name from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_ATTRIBUTES . " patrib where patrib.products_id='" . (int)$HTTP_GET_VARS['products_id'] . "' and patrib.options_id = popt.products_options_id and popt.language_id = '" . (int)$languages_id . "' order by popt.products_options_name");
      while ($products_options_name = tep_db_fetch_array($products_options_name_query)) {
        $products_options_array = array();
        $products_options_query = tep_db_query("select pov.products_options_values_id, pov.products_options_values_name, pa.options_values_price, pa.price_prefix from " . TABLE_PRODUCTS_ATTRIBUTES . " pa, " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov where pa.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pa.options_id = '" . (int)$products_options_name['products_options_id'] . "' and pa.options_values_id = pov.products_options_values_id and pov.language_id = '" . (int)$languages_id . "'");
        while ($products_options = tep_db_fetch_array($products_options_query)) {
          $products_options_array[] = array('id' => $products_options['products_options_values_id'], 'text' => $products_options['products_options_values_name']);
          if ($products_options['options_values_price'] != '0') {
            $products_options_array[sizeof($products_options_array)-1]['text'] .= ' (' . $products_options['price_prefix'] . $currencies->display_price($products_options['options_values_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) .') ';
          }
        }

        if (isset($cart->contents[$HTTP_GET_VARS['products_id']]['attributes'][$products_options_name['products_options_id']])) {
          $selected_attribute = $cart->contents[$HTTP_GET_VARS['products_id']]['attributes'][$products_options_name['products_options_id']];
        } else {
          $selected_attribute = false;
        }
?>
            <tr>
              <td class="main"><?php echo $products_options_name['products_options_name'] . ':'; ?></td>
              <td class="main"><?php echo tep_draw_pull_down_menu('id[' . $products_options_name['products_options_id'] . ']', $products_options_array, $selected_attribute); ?></td>
            </tr>
<?php
      }
?>
          </table>
<?php
    }
?>
        </td>
      </tr>
      <tr>
        <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
      </tr>
<?php
    $reviews_query = tep_db_query("select count(*) as count from " . TABLE_REVIEWS . " where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "'");
    $reviews = tep_db_fetch_array($reviews_query);
    if ($reviews['count'] > 0) {
?>
      <tr>
        <td class="main"><?php echo TEXT_CURRENT_REVIEWS . ' ' . $reviews['count']; ?></td>
      </tr>
      <tr>
        <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
      </tr>
<?php
    }

    if (tep_not_null($product_info['products_url'])) {
?>
      <tr>
        <td class="main"><?php echo sprintf(TEXT_MORE_INFORMATION, tep_href_link(FILENAME_REDIRECT, 'action=url&goto=' . urlencode($product_info['products_url']), 'NONSSL', true, false)); ?></td>
      </tr>
      <tr>
        <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
      </tr>
<?php
    }

    if ($product_info['products_date_available'] > date('Y-m-d H:i:s')) {
?>
      <tr>
        <td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_AVAILABLE, tep_date_long($product_info['products_date_available'])); ?></td>
      </tr>
<?php
    } else {
?>
      <tr>
        <td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td>
      </tr>
<?php
    }
?>

>


      <tr>
        <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
      </tr>
      <tr>
        <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
          <tr class="infoBoxContents">
            <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
              <tr>
                <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
                <td class="main"><?php echo '<a href="' .tep_href_link(FILENAME_DEFAULT,tep_get_all_get_params(array('products_id'))) . '">' .
                 tep_image_button('button_back.gif', IMAGE_BUTTON_BACK)
. '</a>'; ?>
           </td>

                <td class="main"align="middle"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td>
                <td class="main" align="right"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></td>
                <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
      </tr>
      <tr>
        <td>
<?php
    if ((USE_CACHE == 'true') && empty($SID)) {
      echo tep_cache_also_purchased(3600);
    } else {
      include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS);
    }
  }
?>
        </td>
      </tr>
    </table></form></td>

<br>

<? include(DIR_WS_MODULES . 'thumb_bar.php'); ?>		
	
</br>
<!-- body_text_eof //-->

    <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- right_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
<!-- right_navigation_eof //-->
    </table></td>
  </tr>
</table>
<!-- body_eof //-->

<!-- footer //-->



<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
<!-- footer_eof //-->
<br>
</body>
</html>
<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>


#56 bksbeat

  • Community Member
  • 138 posts
  • Real Name:Gary

Posted 29 June 2011, 02:57

I tried to put <? include(DIR_WS_MODULES . 'thumb_bar.php'); ?>
in the header of product_inf.php and I got this error.

** Fatal error: Cannot redeclare unionSplit::$page_number in /mnt/r0109/d39/s22/b00b868a/www/includes/classes/union_split_page_results.php on line 34

#57 bksbeat

  • Community Member
  • 138 posts
  • Real Name:Gary

Posted 29 June 2011, 15:21

Okay, I think the problem is that I am running PHP version 5. From all accounts, I dont think there is an upgrade/fix to run this contribution on version 5. Pity, as it was a great contribution.
Regards, Gary