Zen Cart Logo
Forums / All Other Contributions/Addons / Tabbed Products Pro (TPP) Contrib - Official Thread

Tabbed Products Pro (TPP) Contrib - Official Thread

Views: 397,334

Results 1,141 to 1,160 of 2,224
16 May 2010, 11:16 AM
#1141
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Tabbed Products Pro (TPP) Contrib - Official Thread

Hello.
I have just install tpp pro on 139b. it works great. I like to know , how i can add tabbed navigation to Categories Description ??

Thanks.

17 May 2010, 1:43 PM
#1142
damiendlskinsolution avatar

damiendlskinsolution

Zen Follower

Join Date:
Sep 2008
Posts:
97
Plugin Contributions:
0

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

minor issue here... I get a "1065 Query was empty in: [] " on my product page...
My guess is something is wrong with the SQL patch (it usually is since my host is GoDaddy). Could it be a prefix problem?

Any help would be greatly appreciated.

Damien

18 May 2010, 11:14 AM
#1143
xuxinunuon avatar

xuxinunuon

New Zenner

Join Date:
May 2010
Posts:
13
Plugin Contributions:
0

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

Hi DivaVocals,

Can you tell me how can i uninstall TPP from SQL?
thank you very much.

Jason

28 May 2010, 12:54 AM
#1144
damiendlskinsolution avatar

damiendlskinsolution

Zen Follower

Join Date:
Sep 2008
Posts:
97
Plugin Contributions:
0

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

:frusty: this mod is driving me nuts... :frusty:

Got all the files uploaded (according to the readme_tabbed file).
Got the 3 snippets added to the tpl_product_info_display file
Got the SQL patch uploaded via the Admin

Now the website is fine until I get to the product page... I then get a 500 internal server error. :censored:

Without the snippets on the tpl_product_info_display file, everything is fine. No tabs obviously but I get my product page.

What am I missing???
Any help would be greatly appreciated.

Below is my tpl_product_info_display file, if that can help...

<?php
/**
 * Page Template
 *
 * Loaded automatically by index.php?main_page=product_info.<br />
 * Displays details of a typical product
 *
 * @package templateSystem
 * @copyright Copyright 2003-2006 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: tpl_product_info_display.php 5369 2006-12-23 10:55:52Z drbyte $
 */
 //require(DIR_WS_MODULES . '/debug_blocks/product_info_prices.php');
?>

<?php
//BOF :: Tabbed Products Pro ::
require(DIR_WS_MODULES . 'tabbed_products_pro.php');
//EOF :: Tabbed Products Pro ::
?>

<div class="centerColumn" id="productGeneral">

<!--bof Form start-->
<?php echo zen_draw_form('cart_quantity', zen_href_link(zen_get_info_page($_GET['products_id']), zen_get_all_get_params(array('action')) . 'action=add_product'), 'post', 'enctype="multipart/form-data"') . "\n"; ?>
<!--eof Form start-->

<?php if ($messageStack->size('product_info') > 0) echo $messageStack->output('product_info'); ?>

<!--bof Category Icon -->
<?php if ($module_show_categories != 0) {?>
<?php
/**
 * display the category icons
 */
require($template->get_template_dir('/tpl_modules_category_icon_display.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_category_icon_display.php'); ?>
<?php } ?>
<!--eof Category Icon -->

<!--bof Prev/Next top position -->
<?php if (PRODUCT_INFO_PREVIOUS_NEXT == 1 or PRODUCT_INFO_PREVIOUS_NEXT == 3) { ?>
<?php
/**
 * display the product previous/next helper
 */
require($template->get_template_dir('/tpl_products_next_previous.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_products_next_previous.php'); ?>
<?php } ?>
<!--eof Prev/Next top position-->

<!--bof Main Product Image -->
<?php
  if (zen_not_null($products_image)) {
  ?>
<?php
/**
 * display the main product image
 */
   require($template->get_template_dir('/tpl_modules_main_product_image.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_main_product_image.php'); ?>
<?php
  }
?>
<!--eof Main Product Image-->

<!--bof Product Name-->
<h1 id="productName" class="productGeneral"><?php echo $products_name; ?></h1>
<!--eof Product Name-->

<!--bof Product Price block -->
<h2 id="productPrices" class="productGeneral">
<?php
// base price

//***********************************************************************
//***DISPLAY NET RETAIL PRICE IF WHOLESALE CUSTOMER IS LOGGED ON
//***********************************************************************
if ($_SESSION['customer_whole'] && $_SESSION['customer_whole'] != '0' ) {
 	echo '<span id="retailwhole">' . ' Retail Price: '.$one_time . ((zen_has_product_attributes_values((int)$_GET['products_id']) and $flag_show_product_info_starting_at == '1') ? TEXT_BASE_PRICE : '') . zen_get_products_display_retail_net_price((int)$_GET['products_id']).'</span><br /> ';
}
//***********************************************************************
//***END DISPLAY NET RETAIL PRICE IF WHOLESALE CUSTOMER IS LOGGED ON
//***********************************************************************

  if ($show_onetime_charges_description == 'true') {
    $one_time = ' <span> Your Price: ' . TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION . '</span><br />';
  } else {
    $one_time = '';
  }
//*********************************************************************************
//***Properly display price labeling when set to Whole sale and when not
//*********************************************************************************
if ($_SESSION['customer_whole'] && $_SESSION['customer_whole'] != '0' ) {
  echo  '<span id="whole">Whole Sale Price: ';
  } else {
  echo '<span id="retail">Retail Price: ';
  } 
  echo $one_time . ((zen_has_product_attributes_values((int)$_GET['products_id']) and $flag_show_product_info_starting_at == 1) ? TEXT_BASE_PRICE : '') . zen_get_products_display_price((int)$_GET['products_id']);
  echo '</span>';
//*********************************************************************************
//***END Properly display price labeling when set to Whole sale and when not
//*********************************************************************************
?></h2>
<!--eof Product Price block -->

<!--bof Product details list  -->
<h2 id="productDetails" class="productGeneral">
<?php if ( (($flag_show_product_info_model == 1 and $products_model != '') or ($flag_show_product_info_weight == 1 and $products_weight !=0) or ($flag_show_product_info_quantity == 1) or ($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name))) ) { ?>
<id="productDetailsList" class="floatingBox back">
  <?php echo (($flag_show_product_info_model == 1 and $products_model !='') ? '' . TEXT_PRODUCT_MODEL . $products_model . '' : '') . "\n"; ?>
  <?php echo (($flag_show_product_info_weight == 1 and $products_weight !=0) ? '' . TEXT_PRODUCT_WEIGHT .  $products_weight . TEXT_PRODUCT_WEIGHT_UNIT . ''  : '') . "\n"; ?>
  <?php echo (($flag_show_product_info_quantity == 1) ? '' . $products_quantity . TEXT_PRODUCT_QUANTITY . ''  : '') . "\n"; ?>
  <?php echo (($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name)) ? '' . TEXT_PRODUCT_MANUFACTURER . $manufacturers_name . '' : '') . "\n"; ?>
<br class="clearBoth" />
<?php
  }
?></h2>
<!--eof Product details list -->




<!--bof free ship icon  -->
<?php if(zen_get_product_is_always_free_shipping($products_id_current) && $flag_show_product_info_free_shipping) { ?>
<div id="freeShippingIcon"><?php echo TEXT_PRODUCT_FREE_SHIPPING_ICON; ?></div>
<?php } ?>
<!--eof free ship icon  -->

<?php
//BOF :: Tabbed Products Pro ::
echo '<div id="tpptabBlock" style="display:none;">' . $tabData . '</div>';
//EOF :: Tabbed Products Pro ::
?>


 <!--bof Product description -->
<?php if ($products_description != '') { ?>
<div id="productDescription" class="productGeneral biggerText"><?php echo stripslashes($products_description); ?></div>
<?php } ?>

<!--bof Additional Product Images -->
<?php
/**
 * display the products additional images
 */
  require($template->get_template_dir('/tpl_modules_additional_images.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_additional_images.php'); ?>
<!--eof Additional Product Images --> 

<!--bof Add to Cart Box -->
<?php
if (CUSTOMERS_APPROVAL == 3 and TEXT_LOGIN_FOR_PRICE_BUTTON_REPLACE_SHOWROOM == '') {
  // do nothing
} else {
?>
            <?php
    $display_qty = (($flag_show_product_info_in_cart_qty == 1 and $_SESSION['cart']->in_cart($_GET['products_id'])) ? '<p>' . PRODUCTS_ORDER_QTY_TEXT_IN_CART . $_SESSION['cart']->get_quantity($_GET['products_id']) . '</p>' : '');
            if ($products_qty_box_status == 0 or $products_quantity_order_max== 1) {
              // hide the quantity box and default to 1
              $the_button = '<input type="hidden" name="cart_quantity" value="1" />' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT);
            } else {
              // show the quantity box
    $the_button = PRODUCTS_ORDER_QTY_TEXT . '<input type="text" name="cart_quantity" value="' . (zen_get_buy_now_qty($_GET['products_id'])) . '" maxlength="6" size="4" /><br />' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '<br />' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT);
            }
    $display_button = zen_get_buy_now_button($_GET['products_id'], $the_button);
  ?>
  <?php if ($display_qty != '' or $display_button != '') { ?>
    <div id="cartAdd">
    <?php
      echo $display_qty;
      echo $display_button;
            ?>
          </div>
  <?php } // display qty and button ?>
<?php } // CUSTOMERS_APPROVAL == 3 ?>
<!--eof Add to Cart Box-->







<!--eof Product description -->
<br class="clearBoth" />

<!--bof Attributes Module -->
<?php
  if ($pr_attr->fields['total'] > 0) {
?>
<?php
/**
 * display the product atributes
 */
  require($template->get_template_dir('/tpl_modules_attributes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_attributes.php'); ?>
<?php
  }
?>
<!--eof Attributes Module -->

<!--bof Quantity Discounts table -->
<?php
  if ($products_discount_type != 0) { ?>
<?php
/**
 * display the products quantity discount
 */
 require($template->get_template_dir('/tpl_modules_products_quantity_discounts.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_products_quantity_discounts.php'); ?>
<?php
  }
?>
<!--eof Quantity Discounts table -->


<!--bof Prev/Next bottom position -->
<?php if (PRODUCT_INFO_PREVIOUS_NEXT == 2 or PRODUCT_INFO_PREVIOUS_NEXT == 3) { ?>
<?php
/**
 * display the product previous/next helper
 */
 require($template->get_template_dir('/tpl_products_next_previous.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_products_next_previous.php'); ?>
<?php } ?>
<!--eof Prev/Next bottom position -->

<!--bof Tell a Friend button -->
<?php
  if ($flag_show_product_info_tell_a_friend == 1) { ?>
<div id="productTellFriendLink" class="buttonRow forward"><?php echo ($flag_show_product_info_tell_a_friend == 1 ? '<a href="' . zen_href_link(FILENAME_TELL_A_FRIEND, 'products_id=' . $_GET['products_id']) . '">' . zen_image_button(BUTTON_IMAGE_TELLAFRIEND, BUTTON_TELLAFRIEND_ALT) . '</a>' : ''); ?></div>
<?php
  }
?>
<!--eof Tell a Friend button -->

<!--bof Reviews button and count-->
<?php
  if ($flag_show_product_info_reviews == 1) {
    // if more than 0 reviews, then show reviews button; otherwise, show the "write review" button
    if ($reviews->fields['count'] > 0 ) { ?>
<div id="productReviewLink" class="buttonRow back"><?php echo '<a href="' . zen_href_link(FILENAME_PRODUCT_REVIEWS, zen_get_all_get_params()) . '">' . zen_image_button(BUTTON_IMAGE_REVIEWS, BUTTON_REVIEWS_ALT) . '</a>'; ?></div>
<br class="clearBoth" />
<p class="reviewCount"><?php echo ($flag_show_product_info_reviews_count == 1 ? TEXT_CURRENT_REVIEWS . ' ' . $reviews->fields['count'] : ''); ?></p>
<?php } else { ?>
<div id="productReviewLink" class="buttonRow back"><?php echo '<a href="' . zen_href_link(FILENAME_PRODUCT_REVIEWS_WRITE, zen_get_all_get_params(array())) . '">' . zen_image_button(BUTTON_IMAGE_WRITE_REVIEW, BUTTON_WRITE_REVIEW_ALT) . '</a>'; ?></div>
<br class="clearBoth" />
<?php
  }
}
?>
<!--eof Reviews button and count -->


<!--bof Product date added/available-->
<?php
  if ($products_date_available > date('Y-m-d H:i:s')) {
    if ($flag_show_product_info_date_available == 1) {
?>
  <p id="productDateAvailable" class="productGeneral centeredContent"><?php echo sprintf(TEXT_DATE_AVAILABLE, zen_date_long($products_date_available)); ?></p>
<?php
    }
  } else {
    if ($flag_show_product_info_date_added == 1) {
?>
      <p id="productDateAdded" class="productGeneral centeredContent"><?php echo sprintf(TEXT_DATE_ADDED, zen_date_long($products_date_added)); ?></p>
<?php
    } // $flag_show_product_info_date_added
  }
?>
<!--eof Product date added/available -->

<!--bof Product URL -->
<?php
  if (zen_not_null($products_url)) {
    if ($flag_show_product_info_url == 1) {
?>
    <p id="productInfoLink" class="productGeneral centeredContent"><?php echo sprintf(TEXT_MORE_INFORMATION, zen_href_link(FILENAME_REDIRECT, 'action=url&goto=' . urlencode($products_url), 'NONSSL', true, false)); ?></p>
<?php
    } // $flag_show_product_info_url
  }
?>
<!--eof Product URL -->

<!--bof also purchased products module-->
<?php
//require($template->get_template_dir('tpl_modules_also_purchased_products.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_also_purchased_products.php');?>
<!--eof also purchased products module-->

<!--bof Form close-->
</form>
<!--bof Form close-->
</div>

<?php
//BOF :: Tabbed Products Pro ::
echo $tabjscript;
//BOF :: Tabbed Products Pro ::
?>
28 May 2010, 9:09 PM
#1145
damiendlskinsolution avatar

damiendlskinsolution

Zen Follower

Join Date:
Sep 2008
Posts:
97
Plugin Contributions:
0

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

Got it! (well, actually a friend of mine got it for me).
There was an issue with the Tabbed_products_pro file. Something to do with the "Customer also purchase" tab.
Dunno what exactly but anyway... it's fixed!
:D

28 May 2010, 9:14 PM
#1146
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

DamienDLSkinSolution:

Got it! (well, actually a friend of mine got it for me).
There was an issue with the Tabbed_products_pro file. Something to do with the "Customer also purchase" tab.
Dunno what exactly but anyway... it's fixed!
:D
Think you might could get your friend to post his findings/fixes, so other people could benefit from them?

1 Jun 2010, 4:11 PM
#1147
andreitero avatar

andreitero

Zen Follower

Join Date:
Dec 2009
Posts:
207
Plugin Contributions:
0

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

Thanks a lot for this contribution, it looks great and works great so far. I am using the latest 1.06c on http://lemy.co.uk. Just on slight problem(of course): the main image is being duplicated. I have read on this thread and a similar fix is offered for product description and details, but not for the main image.
If i look into the source of the product page, i can see the main image is being duplicated from the reviews tab.
In tabbed_products_pro.php, there is

// Hack the output a bit to remove the copy of the main image that reviews normally has on it and other duplicate stuff
...
$fmtRVW = str_replace('id="productMainImage"', 'id="productMainImageReview" style="display:block;"', $fmtRVW);
$fmtRVW = str_replace('id="productReviewsDefaultProductImage"', 'id="productReviewsDefaultProductImage" style="display:block;"', $fmtRVW);

I'm thinking something there is not working right for me, but just can't figure out how to fix it. Anyone has any ideas on this?
Cheers!

2 Jun 2010, 5:00 PM
#1148
andreitero avatar

andreitero

Zen Follower

Join Date:
Dec 2009
Posts:
207
Plugin Contributions:
0

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

andreitero:

Thanks a lot for this contribution, it looks great and works great so far. I am using the latest 1.06c on http://lemy.co.uk. Just on slight problem(of course): the main image is being duplicated. I have read on this thread and a similar fix is offered for product description and details, but not for the main image.
If i look into the source of the product page, i can see the main image is being duplicated from the reviews tab.
In tabbed_products_pro.php, there is

// Hack the output a bit to remove the copy of the main image that reviews normally has on it and other duplicate stuff
...
$fmtRVW = str_replace('id="productMainImage"', 'id="productMainImageReview" style="display:block;"', $fmtRVW);
$fmtRVW = str_replace('id="productReviewsDefaultProductImage"', 'id="productReviewsDefaultProductImage" style="display:block;"', $fmtRVW);

> 
> I'm thinking something there is not working right for me, but just can't figure out how to fix it. Anyone has any ideas on this?
> Cheers!

Solved by replacing tpl_reviews_default.php with dgreviews from free add-ons section.
4 Jun 2010, 5:39 AM
#1149
jgoode avatar

jgoode

New Zenner

Join Date:
Jun 2010
Posts:
2
Plugin Contributions:
0

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

I apologize now if this has been resolved elsewhere, I can't find the answer anywhere...

is there a way to add tabs to all products without requiring the addition of the short codes in the description field for each product? If so, can someone please point me to that documentation?

I am not using any of the other contribs I'm more looking for a way to add in bulk or global -- and I do have all global TPP options set to "on".

Please and thank you!

9 Jun 2010, 6:35 AM
#1150
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

DivaVocals:

So to expand on part of what I said above.. It sounds like your ABSPATH value is incorrect. I am going to assume it was you who asked this question on Numix's blog:

Numinix's response was:

Numinix is absolutely right, the ABSPATH value is indeed hardcoded into the class.rlwp.php file, and it looks like you did not update it to match the correct ABSPATH value for your site. The contents of the class.rlwp.php file is as follows:

define ('ABSPATH','/var/www/zc138/wordpress/'); // abs-path to wp
if (file_exists(ABSPATH.'wp-config.php')) {
require_once(ABSPATH.'wp-config.php');
$wpinstall = true;
}

> Please note the part highlighted in red and compare to the error message you have.. As I suggested in my previous post, you need to update the ABSPATH value in the **class.rlwp.php** file to match the ABSPATH value in your ZenCart **includes/configure.php** file with your blog folder added to the end of the value. Try changing this to the correct value for your site and see if you still have the issue.. 
>  
> If you do, then try simply removing the class.rlwp.php file. Please note that if you delete this file that you will no longer have the ability to create WordPress tabs using TPP, but you will likely no longer have any issues using Numinix's embedded WordPress solution either..
>  
> and like I said.. If all else fails, you can always roll back to ver 1.05..

WOW. Thank you for this! I just upgraded to 1.3.9d and have been ripping my hair out trying to figure out what happened to wordpress. It seems that this one line was overwritten during the merge from dev to live.
10 Jun 2010, 12:40 PM
#1151
capit_planeta avatar

capit_planeta

New Zenner

Join Date:
Jun 2010
Posts:
1
Plugin Contributions:
0

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

Hello, I improving a zencart into a localhost server and installed the last version of this contribution. Runs ok into the product description but I dont get to use into the ezpages.

I want to put into ezpages for improve the appearance and link some important information. But don't find nothing into forum or Google.

Someone knows how can I do?

My zencart are 1.3.8a
thankyou and sorry for my bad english:P

16 Jun 2010, 8:34 AM
#1152
kamelion0927 avatar

kamelion0927

Zen Follower

Join Date:
Dec 2009
Posts:
208
Plugin Contributions:
1

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

I have a very odd problem. I'm running Zen 1.38a and when I upload all of the files (tpl_product_info_display.php is the only one that I needed to modify/merge), all of the formatting is wiped from my site. The site information is still there but when I use Firebug, it says "This element has no style rules" on all of the html.
I get no errors from the debugging utility.

I removed and re-uploaded all of the Tabbed Product Pro files (SQL included) several times (and verified that everything was uploaded in one piece to the right folder every time).

After a lot of digging, I learned that there can sometimes be an issue with the html_header.php (although it's usually a problem with a file that has already been altered due to another mod and I'm still running off of the default) so I removed the html_header.php and voila! My site was styled again (no product tabs however).

I've looked through every one of the help forums (including the forums of the add ons I have installed) and no one has even come close to having an issue like this one.

Can anybody give me an inkling of where to start looking to fix this?

Thanks in advance,
Crystal

17 Jun 2010, 10:01 AM
#1153
creinold avatar

creinold

Zen Follower

Join Date:
Sep 2008
Location:
North Highlands, California 95660
Posts:
287
Plugin Contributions:
0

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

Crystal what php version are you running?
Posted via Mobile Device

18 Jun 2010, 1:20 PM
#1154
beep avatar

beep

New Zenner

Join Date:
Nov 2008
Location:
London
Posts:
94
Plugin Contributions:
0

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

quentinjs:

I've been slowly working the layout, and getting it I think nearly to where I want it. And I have a question related to the space between the last bar on the content and the "write a review" button below it. There is a lot of white space and I'd like to tighten it up. If I toggle to normal view that space isn't there so I'm thinking its a TPP CSS thing, so any guidance would be appreciated to try and cut it down some.

see http://www.totalgarage.ca/products/index.php?main_page=product_info&cPath=46&products_id=340 for an example.

Did anyone answer this?
Or did you find the solution?
I haven't found it myself yet and I want to put my add to cart and attributed below the tpp to this would be very useful.

18 Jun 2010, 1:32 PM
#1155
beep avatar

beep

New Zenner

Join Date:
Nov 2008
Location:
London
Posts:
94
Plugin Contributions:
0

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

Nevermind, it was a quick fix. Just in case anyone needs it...

I removed the clear both code from

$tabcontent .= "\n" . '<br class="clearBoth" />' . "\n\n";

in tabbed_products_pro.php

23 Jun 2010, 3:11 AM
#1156
dkerfoot avatar

dkerfoot

New Zenner

Join Date:
Mar 2007
Posts:
72
Plugin Contributions:
0

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

Thanks for posting this! It saved me a bunch of time and frustration!

dukecomputerwiz:

Never Mind I figured it out. For anyone else, you just need to add the the following code:

$files = loadCssJsFiles($css_files_to_load, $jscript_files_to_load);
foreach($files['css'] as $file)
if($file['include']) include($file['string']);
else echo $file['string'];

foreach($files['js'] as $file)
if($file['include']) include($file['string']);
else echo $file['string'];

Just before the debug section at the bottom of your original file. Not the file that came with the tabpro distribution.

27 Jun 2010, 1:21 AM
#1157
dkerfoot avatar

dkerfoot

New Zenner

Join Date:
Mar 2007
Posts:
72
Plugin Contributions:
0

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

Upgrading from ZC 1.3.7 to 1.3.9d.
Also added Tabbed Products Pro contrib

Google Checkout (GCO) was working fine for a long time.

now GCO doesn't work. For starters, I don't get a button anymore. I just get the option on checkout. If I chose it, and click continue checkout - I get to a "Confirm the Order" Page. I click the button and it brings me right back to the shopping cart.

Reinstalled GCO several time - no joy.

Any ideas?

27 Jun 2010, 3:59 AM
#1158
kamelion0927 avatar

kamelion0927

Zen Follower

Join Date:
Dec 2009
Posts:
208
Plugin Contributions:
1

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

creinold:

Crystal what php version are you running?
Posted via Mobile Device

I'm running 5.0.83? I think that's the full database version. :lookaroun

27 Jun 2010, 4:13 AM
#1159
kamelion0927 avatar

kamelion0927

Zen Follower

Join Date:
Dec 2009
Posts:
208
Plugin Contributions:
1

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

dukecomputerwiz:

Never Mind I figured it out. For anyone else, you just need to add the the following code:

$files = loadCssJsFiles($css_files_to_load, $jscript_files_to_load);
foreach($files['css'] as $file)
if($file['include']) include($file['string']);
else echo $file['string'];

foreach($files['js'] as $file)
if($file['include']) include($file['string']);
else echo $file['string'];

Just before the debug section at the bottom of your original file. Not the file that came with the tabpro distribution.

BTW - I did try this AND I used BeyondCompare to merge my files and it's still not working. :P

27 Jun 2010, 7:22 AM
#1160
kamelion0927 avatar

kamelion0927

Zen Follower

Join Date:
Dec 2009
Posts:
208
Plugin Contributions:
1

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

Well, I think I figured it out. From the documentation that I've read, the CSS/JS javascript loader will only work on mySQL 5.2 or higher and I'm only running 5.0. And my web host will only support the 5.0 version. :censored:

I took out the html_header out of includes/templates/my_template/common (but I left the rest of the files for CSS/JS javascript loader files - as well as the SQL patch - in place) and all of the style was returned to my site. Luckily, the most recent version of the Fast and Easy Checkout mod still works without the html_header installed.

I installed Tabbed Product Pro v. 1-05 and it's working like a charm.

Thanks for such an AWESOME mod!