Re: Tabbed Products Pro (TPP) Contrib - Official Thread
UPDATE!
Ok I fixed the read reviews stuff, but I'm doing it a little differently now by floating the tabcontent left as well. This should also prevent boxes from flaoting off since floats don't float drop other floats.
But this also might break something else down the line because CSS is so flaky between browsers.
So give this version a try.
Files modified:
- includes/modules/tabbed_products_pro.php
- includes/templates/YOUR_TEMPLATE/css/tpp/*.css (all the sub css files except the alt_tpp_side1.css)
For the PNG stuff, I managed to get it working on my demo site with IE6 & IE7:
http://www.unbannable.com/zen138a/in...32cc4f2e37cdd4
I noticed you had a lot of validation w3 errors so perhaps there is a problem there with the way IE renders some of the errors.
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Thanks for the review tab update. It works.
Quote:
Right, but I need to know if those png images work when the attributes are not on tabs. If you put the attributes off of the tabs, they work fine? Tho I
am assuming they do if they work everywhere else ok too.
The pngs display in IE on products that don't have the custom tab that include the attribute sub tab.
http://nahidfashions.com/test_boutiq...products_id=56
I'm working on the validation errors.
Quote:
Originally Posted by
qhome
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
qhome
I have run:
http://jigsaw.w3.org/css-validator/v...usermedium=all
I think I've got the validation errors fixed (except a behavioral property which I don't think is supported), but still no attribute pngs in IE 6 & 7.
What "hack" are you using to get pngs displayed in IE 6?
thanks for the help
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
shocker
I have run:
http://jigsaw.w3.org/css-validator/v...usermedium=all
I think I've got the validation errors fixed (except a behavioral property which I don't think is supported), but still no attribute pngs in IE 6 & 7.
What "hack" are you using to get pngs displayed in IE 6?
thanks for the help
I'm using no hacks for png display. The only hack that would be needed is one for IE6 png transparency. But for this test, I am simply adding a png image to my attribute. Nothing else.
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
qhome
I'm using no hacks for png display. The only hack that would be needed is one for IE6 png transparency. But for this test, I am simply adding a png image to my attribute. Nothing else.
I removed the transparent png hack and the pngs display in IE. (I was using a hack called Slight. I works fine, but jsut some times it gets in the way.)
So I have to figure out how to hack the transparent pngs in order to use this.
thanks for your help and great mod. I hope I can use it in the end.
:mellow:
thanks
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Again great mod. I'm getting my png problems sorted out so I can put this in my live site.
One thing I'd like to do is put the Tell a Friend and Product Notifications in the review tab.
Can you point me in the right direction to make this mod.
Not sure if you want to include it in the next release, but I'd like to implement this on my site to give it a more compact look but less clutter.
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
shocker
Again great mod. I'm getting my png problems sorted out so I can put this in my live site.
One thing I'd like to do is put the Tell a Friend and Product Notifications in the review tab.
Can you point me in the right direction to make this mod.
Not sure if you want to include it in the next release, but I'd like to implement this on my site to give it a more compact look but less clutter.
I try to refrain from making edits to, or changing any of the supporting Zen-cart files so that if they are updated in future versions, it should be completely transparent to TPP.
But it is quite easy at the template level for you to make those custom changes:
1. Edit tpl_product_display_info.php
2. Cut:
PHP Code:
<!--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 -->
3. Save that file
4. create a copy of template_default/templates/tpl_product_reviews_default.php into your template to create an override.
5. Edit the override file from your template templates directory. Near the end, before the final "</div>" Paste the stuff you cut from above. That will put the tell a friend button inside the template page that is called for the reviews tab.
Do the same for the product notification
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
qhome
3. Save that file
4. create a copy of template_default/templates/tpl_product_reviews_default.php into your template to create an override.
5. Edit the override file from your template templates directory. Near the end, before the final "</div>" Paste the stuff you cut from above. That will put the tell a friend button inside the template page that is called for the reviews tab.
Do the same for the product notification
Adding he Tell Friend was a piece of cake, but Product Notification appears to be trickier.:dontgetit What should I copy and from where?
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
shocker
Adding he Tell Friend was a piece of cake, but Product Notification appears to be trickier.:dontgetit What should I copy and from where?
What is the product notification again? is that normally on the product info page?
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
qhome
What is the product notification again? is that normally on the product info page?
As far as I know it is usually a side box. :lookarounI searched and searched but I found no option to turn this on for product info even though it is product dependent.:unsure:
It looks like I got my PNg problem sorted out.:clap: