I went ahead and installed 1.05 and it works great. The popups work and you can change the css in stylesheet_tpp.cs and it reflects just fine. Problem solved.
Printable View
I went ahead and installed 1.05 and it works great. The popups work and you can change the css in stylesheet_tpp.cs and it reflects just fine. Problem solved.
Posted via Mobile Device
Okay, thanks Diva and Deirdre, next time I get on teh intartubes I'll browse for 1.05.
Also, referencing 1.06b, is an auto_loaders folder containing loader_tpp.php supposed to be in the template folder, includes/templates/yourtemplate/? Never seen a loader there before.
Posted via Mobile Device
Yes it is. I'm not sure if that's the right spot for it but that's where it was for mine too.
Just installed this and now my product display page is blank
Site is http://www.craftmagick.com
Please help
Zen version 1.3.8a
Hey Diva,
Thanks for your help. :)
I tried using winmerge, but after I did the site's alignment went bad. All the template styling has been removed and everything seems to be left aligned.(and sitll no tabbs)
I'm going to try and remove some of the code to see if that works, do you have any other suggestions on what I could try?
Honestly I don't know enough about this new version to provide any more useful suggestions.. I understand there is some new functionality built into this mod to help improve site performance.. I haven't personally had a chance to test it to be of any real help.
Posted via Mobile Device
Hi,
I am having some issues with this. I have installed it and all works perfectly apart from one thing. My Images no longer increase "Larger". the error can be seen here.
Any help very much appreciated.
Many thanks
PLEASE!!! Hello Everyone - please can someone help me.
I have tried to install global tabs on 2 different installs and it is not working. I tried a second fresh install to see if it made a difference, in fact now they both have different issues, my first install shows error - see my post below, and the other site I just installed to test is just blank http://www.londonphotostudio.co.uk/s...&products_id=3
First install has magic zoom installed and 2nd test install does not.
PLEASE, please can someone help me, it would be very much appreciated.
FWIW, I installed 1.05 without a hitch, too. It was one of the easiest mods ever. Plus I should have known when I saw yellow1912's name attached to 1.06b to be wary of its feasibility. I ALWAYS have problems with his cutting edge stuff. One of these days I'll be up to snuff and be able to take advantage of his skills.
FWIW 2, while the development server has PHP 5, the live site is still running PHP 4. So, I would have had to wait anyway before installing TPP with CJ Loader. FWIW 3, I never did get TPP-CJ running on my dev server.
However, one step forward this mod allowed me to take was while troubleshooting 1.06b problems, I uncovered the culprit behind site crashes involving the Internet Explorer-Public Web Browser combo: Zen Lightbox 1.4. That was screaming for a change anyway.
Posted via Mobile Device
Is there a Reordering tabs how-to? I searched to no avail. I won't mind doing it myself but I need some tips. If I find each reference to the details tab in modules\tabbed_products_pro.php and move it to the corresponding "bottom" of that code section, will that do the trick or is there another file or two I need to edit? Thanks!
Posted via Mobile Device
To answer my own: question about reordering tabs: No need for each and every reference. There are two spots to move code. One area for thd order of the tab names and another for the tab contents (this is what killed me and took me a dumbdred years to unravel).
Re-sorting Tabs
1. Tab names
* Search for: BOF: Tabbed Products Calculations
* Scroll down to the collection of if statements
* For the tab you want to move, find the if code blurb, including the last two closing braces and highlight
* Cut and paste
2. Tab contents
* Search for: Zen Tag - Tab Contents
* Scroll down to the code blurb for the tab you want to move and select
* Cut and paste
Note: product description must remain first if IIRC an earlier post
Posted via Mobile Device
Updated how-to
Re-sorting Tabs
1. Tab names
* Search for: BOF: Tabbed Products Calculations
* Scroll down to the collection of if statements
* For the tab you want to move, find the if code blurb, including the last two closing braces and highlight
* Cut and paste
2. Tab contents
* Search for second: Zen Tag - Tab Contents
* Be sure you're not in the pre-load swction.
* Scroll down to the code blurb for the tab you want to move and select
* Cut and paste
Note: product description must remain first if IIRC an earlier post
Posted via Mobile Device[/QUOTE]
Posted via Mobile Device
Has anyone had troubles getting the attributes on the tabs as a category or sub category? Doesn't seem to be working.
For example. I used this code:
<!--%Product Description%-->
This is just a test of the tabbing system.
<!--*sub_Reviews(1)*-->
and it creates the tab with the text, but doesn't show the review module on that tab.
Or if I do something like this,
<!--%Product Description%-->
This is just a test of the tabbing system.
<!--*sub_Reviews(1)*-->
<!--%Ordering Information%-->
<!--*sub_DetailsOnTab(2)*-->
<!--*sub_AttributeOptions(2)*-->
<!--*sub_AddToCart(2)*-->
it creates the tabs but doesn't show the modules or attributes on the tabs.
Hi,
I am making some changes to my product info display page and to temporarily get rid of the tabs on my product pages. Can that be done via the Configuration in admin? Thank you.
Hi,
I need to temporarily disable TPP for some minor changes. I go to my TPP-Config and set the first option to 0, correct?
This is just to confirm my thinking. Dumb ?, I know.
Ha ha, oh god! What the heck did I do wrong? I just installed TPP and my website vanished... I have a completely blank page!
I have recently uploaded a new zen-cart template, and I changed the teporary file to the name of the template I'm using, as per install instructions. Perhaps I changed the wrong thing? I also have installed Easy Populate, which is working just fine.
As I search the thread, I see that I'm not the only one, but I don't seem to see any answers. Did anyone who had this problem figure it out?
Using ZC 1.3.8a
Anyone have advice?
I want tabs! (Well, first I want a website...)
ilsita
I have an update.
I just deleted and reinstalled TPP, and it seems to be working now. My website didn't disappear this time, and everything seems to be in order...
I am so sorry that I can't offer a solution to anyone else who's page went blank, because I don't know what, if anything, I did differently. But, I can tell you exactly what I did:
1. uploaded the files into the "include" file in the "admin" file in my store. (Any files that didn't exist in the "include" file, I uploaded the whole file.)
2. changed the YOUR_TEMPLATE name to the name of the template I'm using, and uploaded those files to their respective places.
Now, I did that the first and second times I tried to install. The first time, the formatting of my website went all haywire. The second time, the website disappeared altogether. I must have done something wrong the first two times -- I wish I could tell you what.
ilsita
Update #2: Turns out my product page is now blank.
I think that is caused by tabbed_products_pro.php.
There are two files with the same name...
make sure the one in languages folder goes to
\includes\languages\english\extra_definitions (and check the file size)
then make sure the one in Modules folder goes to
\includes\modules (check and match the file size)
the files both share the same name, but are different sizes...I had this problem as well, I fixed it by correcting this mistake.
not sure if it'll work for you, but worth a shot. :)
Hi Himmell, Thanks! I gave that a shot, but everything looked fine in there. Back to tinkering! I clearly just don't know what I'm doing.
I did, however, manage to lose everything again. :blink:
Tabs won't display inline in IE. I wasn't having this problem before. Anyone know how to fix it?
<a href="http://eclecticaclothing.com">SITE</a>
I figured it out. In IE the #slidestabmenu and .tabcontent need to be set to 100%, while in FF a width of 100% would result in either the tabs showing BEHIND the mainImage, or below it. FF the width needs to be set to 50%. Any suggestions? I am not sure why there is such a huge discrepency.
For new users trying to get tabbed products pro working, use the older version, 1.5 (tabbed_products_pro_v1-05.zip). 1.6 and later versions are all out of whack, the install instructions don't match the files in the module.
Hopefully will save someone several hours of horsing around with 1.6.
I cannot get Tab Products Pro 1.6 to work on my site. Shoot, I can't even get ver 1.5 to work! I have been trying for over 30 days now. I have uninstalled and reinstalled so many times :yuck:, thinking one of the installs would grab, but nope, it never showed any tabs. In the admin, I have several options set to true (1). I have installed the sql file and all files for the store part uploaded and still :no:. I have read and re-read the instructions many, many times. Now, I have them memorized. Perhaps, I'm not understanding the instructions?!?:dontgetit
I am not sure what to do at this point. Quit and not install it? I don't think so! What am I to do now? Can someone please help me with this situation I've created or not understanding?:frusty:
The tabs I want to show: description tab, additional images tab, reviews tab.
progroom dot com/shop
As it now stands, I have the latest version 1.6 reinstalled:unsure:.
ZC ver1.3.8
MySQL 5.0.81
PHP Version: 5.2.9 (Zend: 2.2.0)
Kaddie
I've no experience with using this module but taking a quick peek at your site suggests that it indeed is working ...at least in part:
progroom dot com/shop/index.php?main_page=product_info&cPath=488_547&products_id=616
(shows tabs for me - using IE 8)
I noticed some of the other products do not show tabs ...so i'm guessing its an incomplete application of the module code to your templates?
Hope this helps...
I had already checked my site in IE8 and FF3 and just checked it again and I don't see any tabs at all for the description or any tabs that is suppose to show. I don't know what your seeing except my category or ezpages tabs. It is most definately not my tab products pro tabs. But thanks for peeking.
Kaddie
Okay, maybe i'm wrong (sincerely sorry if I am) ....but aren't these the tabs from this module???
http://www.stride-r-web.com/tabbed_prods.gif
Oh, my gosh! It sure is and you are absolutely correct. But I wonder how come I don't see them in IE8 and FF3. I have javascript turned on and I still don't see the tabs. uh, hummm.
Nevertheless, I still have problems.
Kaddie
I'm not understanding why you guys can see the tabs and I can't? I am totally baffled and confused at this point. Again, I check javascript and they are turned on in both new versions of FF and IE.
Does anyone know why I can't see the tabs because I sure don't know why?
Thanks for viewing stride-r and divavocals. I appreciate it.
Kaddie
Well, this is not making any sense to me. When I view other sites that have the tabs installed, I can see them. When I go to my site I cannot see the tabs, but everyone else that views my site can see the tabs.:wacko:
Got a headache trying to understand something that has me floored and that I cannot fix. Why in the world can't I see the tabs?
Can someone give me some insight?
Kaddie
This is what I see.
http://progroom.com/shop/includes/te...ts/tabless.jpg
Kaddie
I see what is happening. I can see the tabs on product pages that DO NOT have additional images. The product pages that have additional images do not show tabs. I have (show Global additional images) set to true in the TPP config in the admin area so they should show.
Thanks for pointing this out for me divavocals. I sure appreciate your help in getting me closer in fixing my problem.
But, now what. Again I am at a stand still. I uninstalled the mod and reinstalled again. Wow, that makes 5 times now. I could most likely install it again blind folded.
Anyways, what to do now is beyond my knowledge.
Have a great day,
Kaddie
I have Image Handler installed. It had an additional_images.php to overwrite my original. Perhaps this has something to do with it? I wouldn't think so, but I could be wrong.
Kaddie
No known conflicts between IH2 and TPP.. So I doubt this is the issue.. Though if you are running the version of IH2 dated: Jul 16 2009, you should uninstall and update to the latest version of IH2.. See if this post helps:
http://www.zen-cart.com/forum/showpo...postcount=4345
That's not true. In the two links I poste from your site neither one has additional product images. If you view the page source you will see that there are no images on either of those pages (even the one where the tabs are visible..)
Honestly unless someone has had the EXACT same issue, the only way to resolve this is to back your site up and start over. If it was me, this is what I woud do. Start with a vanilla Zen Cart install and add each add-on back one by one.. I would start with this one just to get it working first, then add your other add-ons back one by one until you find the one that causes the issue.. I would use the links I sent you as test products. This way you will know RIGHT away when it stops working.
I know this is tedious and it probably sucks, but short of someone here knowing the exact answer to your particular issue, it's likely what you are going to have to do...:blush:
So I did some more looking at your site.. It looks like you are using a Template Monster template (AKA Template Monstrosity) You're not going to like hearing this, but IMO a HUGE part of not being able to get to the bottom of your issue may in fact be attributed to the Template Monster template you are using..
TM Templates IMO are a HUGE no no.. They contain crippled crappy code, broken code, compunded by poor use of nested divs. (One page on your site I saw nested divs TEN deep just to store a few images) They are in essence style over substance, and you don't need them to build nice looking Zen Cart sites. ANYTHING you see in a TM template can be done using the Zen Cart template sytem and overrides. (and I do mean ANYTHING -- there are LOTS of good examples of GOOD LOOKING sites that DO NOT use TM templates..)
I lost a client over TM templates -- so I REFUSE to mess with them again.. (She INSISTED on using one and then was upset when in early testing the template broke EVERYTHING!!) TM "design" shortcuts BREAK normal Zen Cart functionality, and unfortunately because you have to wade through their crappy template code, it's hard to tell what works and what doesn't and why..
There's an old TM thread here where their people actually had the nerve to come to the forum and try to defend their hacked templates. Then after getting a cyber beatdown from some of the vets here, they [FONT=Verdana]acquiesced [/FONT]and agreed to show a sample of a properly built site.. After making that promise, **POOF**, they disappeared and never returned.. That to me was the REAL proof of how horrible their product actually is..
Anyway I digress.. So to add to my suggestion above I suggest you do this using a GENERIC template.. Get every thing to work from a FUNCTIONAL standpoint first THEN make it pretty...
Use this tutorial as a guideline for building a generic vanilla template: https://www.zen-cart.com/tutorials/i...hp?article=142.
Build the site from scratch and see if you don't have better luck getting everything to play nice together..
The version of Image Handler I'm using is (IH 2.0 for 1.3x). I did not installed anything from the shopad or optional extra folders.
No, I really truely :yuck: do not want to start over. I have been working on this site for 6 months now. I am using parts templates. Perhaps that is my issue.
Maybe I will install tabs pro on another template to see if I still get the same results. Tedious and probably sucks is the not the correct expression usage for starting over on something you've been working on for 6 months. I can't post the words here, but you get what I'm saying.
I'm going to also look through my coding to see if anything is interfering. If someone thinks of anything, absolutely anything that may fix my issue, please do let me know.
I know and have heard from so many people about template monster templates. They are not coded correctly for Zen Cart. That is after the fact!
Have a great day ALL and I so appreciate your time and help!
Kaddie
Only the current version of IH2 has attempted to adopt a version numbering convention which makes it easier to distinguish one version from another.
Prior to the current version of IH it's difficult to tell which version folks are saying they installed except based on the date of the version they installed.. That said, I hope the IH 2.0 for 1.3x version you installed is NOT the one dated Jul 16 2009. If it is, you should uninstall it and install the current V2.0 Rev 7 version.
I know you don't, but IMO it's the ONLY way to get to the bottom of your issues.. and it really won't take as long as you think.. If you don't want to start completely from scratch, setup a seperate test store to work it all out first.
I strongly suggest that you create a generic template using the instructions from the link I posted, it will help you rule out template specific issues..
But it's not too late to resolve it.. Your template is rather simple and could EASILY be recreated.. IMO it would take less time to do that than to spend time running down template specific issues..
Well, I have installed the image handler Ver2-0rev7 and tpp Ver106b. Newest versions. I installed in the standard classic template and in another template I downloaded for testing. I also installed IH first on one template, then TPP first in another template. I am also using the newest versions in my original site.
I am still having the same issue no matter what template I use. I am getting extremely frustrated and want to continue on without TPP. I would much rather have them, but nothing I do seems to work. I am tired of installing and reinstalling the thing. I have never had this much trouble installing a mod and surely not 7 times installing the same mod. :censored:
I am going to ask, does anyone know what is happening. How can I rectify this situation I'm having? :cry:
What is happening is the additional images do not show in a tab.
progroom dot com/shop
If you go to apparel, then jackets, click on Stylist Wear Rhinestone Jacket (no tabs correct), then click on next until you get to page 9 of 9, this page has tabs but it doesn't have additional images and the tabs show up (which is the way it is suppose to be).
I cannot get tabs (any tabs) to show on items that have additional images. :frusty:
Kaddie
I see additional images in the "Additional Image" tab on this product:
http://progroom.com/shop/index.php?m...roducts_id=506
Why is that? Some products have tabs and some products don't. It doesn't seem to matter if they have additional images or not. :wacko: Doesn't make any since?
I will play around with it this weekend, perhaps a few days more. However, if I can't get the issue resolved I am going to just uninstall the TPP mod and continue on. Darn I sure wanted to use TPP, but I can't let it keep me at a turtles pace in getting my store completed. Hopefully, I can get resolved with the help from you all, especially you DivaVocals. :bigups: It is so nice of you to take the time to try and help me fix my head banging problem.
I would have answered this thread lastnight, but my server was down awhile.
Kaddie
You're welcome.. Happy to help..
Kaddie.. seriously though.. I am going to suggest AGAIN something that I KNOW you don't want to do.. However, I think you need to step through this one by one to REALLY figure out what is creating the issues you are having..
I don't know what other mods you have installed, but something has to either be installed incorrectly or something is conflicting which is likely creating the issues you are experienceing..
The ONLY way to know what the origin of the issue is is to step back and peel back each layer of your install. Now if you don't want to do this on your current site, you can build a test site and one by one add each of your add-ons to see where the issue starts..
I STRONGLY recommend again that you build a test site, install TPP FIRST, and then install your other add-ons one by one and see which one breaks TPP.. It would have taken you LESS time to do this exercise than all the time you've spent trying to troubleshoot this issue.. (IMHO)
This site is not my original site. However, it will be as soon as I upload all images, weight, prices and make sure all works well. Right now my original live store is using OSC and has been for 7 years now. The OSC site is a live store (progroom dot com). I am trying to design ZC store to look the same (plain jane and simple).
I will give your request a try. :frusty::frusty::frusty::cry::cry::cry:.
I will keep you updated throughout the process.
Thanks Diva Vocals!
Kaddie
Hey Kaddie.. :smile:
I KNOW I KNOW I KNOW you don't want to do this..:no: but you are at the point where the time you are spending on running this issue down could have been spent on a do-over to SOLVE the problem.. I don't give you this advice lightly.. I have been there and done that.. Sometimes a do over SOLVES the problem..:smile: It does suck no doubt.. but if you SOLVE the problem, you will feel good when this exercise is over..
I am going to make another VERY STRONG suggestion.. DO NOT use the classic template or ANY OTHER TEMPLATE YOU HAVE DOWNLOADED if you do this.. Follow the instructions for creating a generic template I posted earlier.. When you are going through this exercise you need to concentrate on FUNCTIONALITY first.. Let em repeat that.. FUNCTIONALITY FIRST!!!:laugh:
Get it all working the way it should work from a functional perspective.. Once you have ALL the add-ons working together the way they should, then (and ONLY then) apply your template..
Now take a deep breath.. get a glass of wine (I like Merlot:laugh:) or your favorite non-alcoholic libation, roll up your sleeves, and be prepared to amaze yourself with what you can do..:smile:
Merlot is the only wine!! Cheers to ya! But not until 7PM.
Your suggestion. I'll give it a go. I promise! Even though I'm not feeling up to it.:no:
Kaddie
I have just installed this very nice mod but have a problem with the black line at the end of the description overwriting the text.
To see what I mean, here is the test site:
http://snow.byethost8.com/snowshop2/...&products_id=6
I have Image Handler 2 and Fual Slimbox installed so I had to hack my html_header.php to make them all work together.
The hack was simple, I just added the following lines before the //DEBUG: section at the end so the page brought in the tpp .css and .js files.
$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'];
Ok, back to my problem.....
I can add a blank line to the end of my product description to fix it, but I thought there was probably a better solution rather than going through all my product descriptions!
I did notice the div id for the product description was productDescription_1. I can't find that defined in any .css. Could that be the problem?
Thanks for taking a look!
Can anybody tell me how to move my Add to Cart button so it appears above the tabs section?
I'm very new to Zen cart and php and can't figure it out :frusty:
I've attached a screen shot of what my page looks like or you can have a look here:
http://snow.byethost8.com/shop/index...&products_id=1
All I want to do is move the Add to Cart and attribute selection dropdown so it appears above the tab section, but underneath the description because I think it would look better with the tabs at the bottom of the page.
If anybody can help I'd be really grateful because this mod has made my product page look loads better so much thanks to the author!
[quote=damiantaylor;799262]
All I want to do is move the Add to Cart and attribute selection dropdown so it appears above the tab section, but underneath the description because I think it would look better with the tabs at the bottom of the page.
[quote]
Here's a starting point, you can always search for "move add to cart button"
http://www.zen-cart.com/forum/showth...VE+ADD+TO+CART
Many thanks for this great mod.
I have installed it and it is working fine.
I have a question, has anyone attempted to add a custom tab to the set of existing tabs. for example, i want to add a tab for "shipping"...is there an way to do it?
Any help/guidance is much appreciated!
Thanks stuff4toys!
I tried to follow the thread you suggested but still have problems.
I should mention I'm not exactly a php programmer lol.
I have moved my add to cart and attributes above the reviews tab but they have suddenly jumped above the description too!
Looking at the HTML page source, there are 2 sections of description....1 above the add to cart and the other one below. The one below seems to be the one that is being displayed even though the style is display:none.
All I have done in the tpl_product_info_display.php file is pick up the following code:
<?php
//BOF :: Tabbed Products Pro ::
echo '<div id="tpptabBlock" style="display:none;">' . $tabData . '</div>';
//EOF :: Tabbed Products Pro ::
?>
And move it after this line:
<!--eof Additional Product Images -->
I'm really struggling with something that I feel should be easy....it's so frustrating :censored: I feel like a dumbo :(
I've just tried editing the HTML using dreamweaver and testing...
Here's an extract of the page source, I've highlited the 2 identical descriptions in red.
For some reason only the second description is displaying which is why it is appearing below my add to cart button.
Is there some javascript somewhere that is stopping the first description from displaying?
Thanks for your help
<H1 class=productGeneral id=productName>Pocket Puck</H1><!--eof Product Name--><!--bof Product Price block -->
<H2 class=productGeneral id=productPrices>Starting at: <SPAN
class=productSpecialPrice>£6.00</SPAN><BR>Original Price: <SPAN
class=normalprice>£15.00 </SPAN><SPAN
class=productPriceDiscount><BR>Save: 60% off</SPAN></H2><!--eof Product Price block --><!--bof free ship icon --><!--eof free ship icon --><!--bof Product description -->
<DIV class="productGeneral biggerText" id=productDescription>
<P>Quick, clean and easy! The pocket puck is a reusable hockey puck sized
container with an applicator and 15g of NOTwax enough for 15 applications,
each application lasts for 1-2 days of skiing or snowboarding. The puck
fits conveniently in your pocket for easy application on the slopes. Now
includes Rustblock, a quick coat after snow sliding will help prevent edge
rust!</P></DIV><!--eof Product description --><BR class=clearBoth><!--bof Add to Cart Box -->
<DIV id=cartAdd>Add to Cart: <INPUT maxLength=6 size=4 value=1
name=cart_quantity><BR><BR><INPUT type=hidden value=1
name=products_id><INPUT title=" Add to Cart " type=image alt="Add to Cart"
src="Pocket Puck - £6_00 Snow Republic_files/button_in_cart.gif"> </DIV><!--eof Add to Cart Box--><!--bof Product details list --><!--eof Product details list --><!--bof Attributes Module -->
<DIV id=productAttributes>
<H3 id=attribsOptionsText>Please Choose: </H3>
<DIV class=wrapperAttribsOptions>
<DIV class="optionName back"><LABEL class=attribsSelect
for=attrib-1>Colour</LABEL></DIV>
<DIV class=back><SELECT id=attrib-1 name=id[1]> <OPTION value=1
selected>Red</OPTION> <OPTION value=2>Blue ( +£4.00 )</OPTION></SELECT>
</DIV><BR class=clearBoth></DIV><BR class=clearBoth></DIV><!--eof Attributes Module --><!--bof Quantity Discounts table --><!--eof Quantity Discounts table --><!--bof Additional Product Images --><!--eof Additional Product Images -->
<DIV id=tpptabBlock style="DISPLAY: none">
<DIV class="productGeneral biggerText" id=productDescription_tab>
<P>Quick, clean and easy! The pocket puck is a reusable hockey puck sized
container with an applicator and 15g of NOTwax enough for 15 applications,
each application lasts for 1-2 days of skiing or snowboarding. The puck
fits conveniently in your pocket for easy application on the slopes. Now
includes Rustblock, a quick coat after snow sliding will help prevent edge
rust!</P></DIV>
<DIV id=slidetabsmenu style="DISPLAY: none">
<UL>
<LI><A onClick="expandcontent('sc1', this)"
href="javascript:void(0)"><SPAN>Reviews</SPAN></A> </LI></UL></DIV>
<DIV id=tabcontentcontainer><!--bof Reviews_Tab sc1-->
<DIV class=tabcontent id=sc1 style="DISPLAY: block">
<DIV style="WIDTH: 100%">
<DIV class=centerColumn id=reviewsDefault_tab>
<DIV class="centeredContent back" id=productReviewsDefaultProductImage
style="DISPLAY: none">
<DIV class="centeredContent back" id=productMainImageReview
style="DISPLAY: none"><!-- bof Zen Slimbox v0.1 btyler 2007-12-04 -->
<SCRIPT language=javascript type=text/javascript><!--
document.write('<div id="slimboxWrapper" style="display:block;"><a href="images/waxes/zardoz pocket puck.jpg" rel="lightbox[gallery]" title="Pocket Puck"><img src="bmz_cache/2/21094dd3d4f78f0ed2ff0b008f1c08f0.image.173x240.jpg" alt="Pocket Puck" title=" Pocket Puck " width="173" height="240" /></a><br class="clearBoth" /><a href="images/waxes/zardoz pocket puck.jpg" rel="lightbox[gallery]" title="Pocket Puck"><span class="imgLink">larger image</span></a></div>' );
//--></SCRIPT>
ok, I just had a flash of inspiration, but might be on the wrong track!
I suddenly realised, I don't want my description on a tab at all so stopped the javascript looking for it. In the tpp.js file, I commented out the following 2 lines:
//hackArr[8] = document.getElementById('productDescription');
//NewArr[8] = document.getElementById('productDescription_tab');
Which puts my original description back where it should be, but still displays the second description below the buttons.
Can you think of any way to turn off the second description or am I barking up the wrong tree here?
Thanks for the reply Diva!
The problem I'm having is getting my description to appear next to my product image.
For some reason, when I switch off the description appearing on a tab via the admin as you suggest, the HTML page source has the description in twice. I don't know why this is happening but I assume tabbed products pro is duplicating the description for some reason?
If you want to have a look at my page, it's here:
http://snow.byethost8.com/shop/index...&products_id=1
The description that appears next to the image is the one I want.
I want to get rid of the one that appears underneath.
Thanks for your help!
Sorry, that link didn't work......
http://snow.byethost8.com/shop/index...&products_id=1
I've decided to do it a different way, I'm going to put the tabs to the right hand side of the image and add the description to the tabs.
Thanks for your help anyway!
Any solution for this problem?Quote:
Wonderful addon thnx.
But i have a little problem with Zen Lightbox and this addon.
When I click on the images the lightbox shows up well, but the main image will appear two times (double). So when a product has 1 image, two will shown in the lightbox. When a product has 3 images, four will shown in the lightbox.
When I disable TTP, it shows the right amount images, no double images.
Another question, can we create also a tab on the homepage for example
Tab1 --> New products
Tab2 --> Featured products
Tab3 --> Specials
Hi, I tried installing this but the my template/common/html_header.php completely messed with my whole layout, is this file necessary to make tpp work properly? If so, then what aspects would I need to add/change in my original html_header file and where should I put them?
Thanks in advance!
Gary
Is this correct syntax?:
My thinking is that it should be:Code:define ('ABSPATH','/xxx/XXX/xxx_xxx/blog/');
This is from the class.rlwp.php file in includes>functions>extra_functions.Code:define ('ABSPATH' . '/xxx/XXX/xxx_xxx/blog/');
I am trying to complete Numinix's Wordpress Integration found here.
The problem is that when I go to click on the login link, it just goes to the blog - and not the admin login page.
No I don't.. I've never had any issues installing this mod nor have I ever had to edit that particular file.. I believe that the person to ask this question to is Numinix since it's his instructions for embedding a WordPress blog you are trying to implement.. It makes sense that he (Numinix) would be best positioned to tell you how his code might interfere with other add-ons. It's unlikely that the author of this mod would be able to answer questions regarding someone else's code unless they wrote their add-on to work with Numinix's code..
BTW, if you are using the 1.06a version, it is different than the previous versions of this mod, so that adds another level to the puzzle. In any case you probably really do want to start with Numinix to troubleshoot the WordPress embedding issues..
Does anyone know if this is the correct syntax:
Should it be this instead?Code:define ('ABSPATH','/xxx/XXX/xxx_xxx/blog/');
Or any other suggestions?Code:define ('ABSPATH' . '/xxx/XXX/xxx_xxx/blog/');
File: class.rlwp.php in includes>functions>extra_functions
Just trying to resolve an issue with my blog. Thanks for your help.
Perhaps, but I felt the longer answer WAS an appropriate response..
Have you posed your question to Numinix?? Because this question seems to be less of a TPP issue and more of an issue with his WordPress embedding solution conflicting with this mod.. Hope you get a response here, but IMO, it seems a tad off topic for this support thread and it seems like the shorter path to your answer would be with Numinix.. I resolved my conflict between the WOZ mod and another add-on (not this one..) by going to the author of the mod which was in conflict..
and though you weren't a fan of my longer answer.. Here's another long answer..:smile: It helps others who might come along with the SAME question.. Yes or no may help you, but it won't help others who stumble on this thread with a similar issue.. Hope that's clearer..:smile:
You might want to consider rolling back to ver 1.05 of this mod.
Don't know if you've looked through this support thread, but based on other posts in this thread, starting with version 1.06 is where people began reporting issues with this mod.. If you read through the various download versions starting with version 1.06 you will see why...
Starting with version 1.06
The class.rlwp.php file you speak of was introduced in this version of TPP, and the original author has not posted here to support it that I am aware of..Quote:
addon for WordPress
example: _!--%WordPress%--__!--###getWPTag###--_
this syntax creates a tab called WordPress, calls a function with the name getWPTag with the parameter products_id. in WordPress you must use a tag with the products-id
IMO this particular version (and it's variants) should NOT be used by anyone who does NOT have a WordPress Blog as part of their site or used by anyone who is using either WOZ of Numinix's WordPress code on their site. (or you will get errors..)
Now if you do not need the WordPress tabs functionality, it may just simply be a matter of simply deleting or commenting out the contents of the class.rlwp.php file..The other possibility is that you do not have your ABSPATH setting entered correctly.. I haven't personally tested if there is a better fix (I use version 1.05 because it works just fine).. Hopefully anyone using one of these WordPress mods along with ver 1.06x of TPP can chime in with a fix. However, the introduction of the WordPress code in version 1.06 seems to be at the heart of your issue, and rolling back to ver 1.05 will DEFINITELY solve your problem..
Regarding versions 1.06b & 1.06c the mod author CLEARLY states the following:
Quote:
1.06b uses the exact same code with 1.06, all credits obviously go to the original author(s). This updated version takes advantage of CJ Loader to boost your site loading speed
I took this to mean that unless you are using the Zencart Css Javascript Loader that you should NOT use this version of TPP.. and since version 1.06b and 1.06c are both based on version 1.06 which introduced the WordPress code, unless you cand resolve the conflict, you should not use it with any embedded WordPress solutions.Quote:
Updated version for compatibility with other modules. You do not need to use this version unless you plan to or using CSS Javascript Loader
If you don't want to roll back I would say check that your ABSPATH value in this file matches the ABSPATH value in your Zen Cart configure.php file with the addition of your blog folder at the end..
This is how it's done in the WOZ add-on:
Like I said, I could answer yes or no, but I think it's better if others have a full and complete answer..:smile:Code:
<?php
//
// wordpress on zencart by http://www.s-page.net/
//
define ('ABSPATH','/var/www/vhost/example.com/public_html/blog/');
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:Quote:
here is the erro i get.. any ideas?
PHP Warning: require_once(/var/www/zc138/wordpress/wp-includes/classes.php) [function.require-once]: failed to open stream: No such file or directory in /home2/mtphsoft/public_html/wordpress/wp-load.php on line 46
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:Quote:
M23perrault, this could happen because you have installed a module for Zen Cart whcih defines ABS_PATH. Try searching for this constant in the Developer’s Toolkit and then disable that module which has the incorrect path hard-coded into the module.
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..Code:
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;
}
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..
Hello,
I have been using Tabbed Products Pro for over a year now. I have no problems.
But now I would like to attempt do something with a little more flexibility. Here's what I would like to do. We have a size chart for our products. The chart has not changed in over a year. But now I need to make some changes. I would like to have the flexibility to make changes quickly in the future. This chart does not apply to all products; it is only applicable for about two thirds of our products.
Right now I have the chart coded individually on every applicable product as a custom tab. In the future I would like to use a php include statement to display this chart. The chart would be in a separate html file that I could change quickly.
The directions for adding a global tab seem clear and easy enough to implement, but a global tab isn't quite what I'm looking for (because only some of the products use a size chart).
Then I thought about making an additional global tab that I could turn off - but include the tag in the product description. This kind of flexibility was described in the directions:
Or is there a way to look for a specific custom tag that would always use the include statement?Quote:
There are many combinations of tabs you can display. If you want ALL items to have the Customers Also Purchased on a tab, but only SOME items you would like the Additional images as a tab, you can set the Global Customers Also Purchased configuration to true in the config area, and add the tag for <!--#AdditionalImages#--> to the specific product descriptions.
Thanks for any help you can provide.
How do you add custom fields to an existing tab. I would like to add the upc code to the details tab. I've tried adding it in the tpl_product_info_display.php, but any changes that I make does not show up.
Well, I pulled up my sleeves and got to the dirty work myself.
So for anyone who's interested in putting in a tab that is repeated on many (but not all) products, here is the solution that I used.
First, I created the html content for the new tab and saved it as a file in the html includes folder. In my case, I was creating a size chart. So I saved it as:
includes/languages/english/html_includes/apple_zen/define_size_chart.php
I use the apple_zen template. Adapt your code where necessary.
Then I altered the tpp file:
includes/modules/tabbed_products_pro.php
In the Custom Tab - Tab Contents section, find this code:
Directly after that, insert this code:Code:if ($bMainImageOnTab == true && $f == 1) {
$tabcontent .= $fmtMainIm; // pre-loaded Main Image
}
The code that was used looks specifically for "Size Chart"Code:if ( $sName[$f] == "Size Chart" ) {
$tabcontent .= get_include_contents('includes/languages/english/html_includes/apple_zen/define_size_chart.php');
}
Adapt your code where necessary.
Then find this code:
Directly before that line, insert this code:Code:function AddHeader ($sHeaderName, $iTabNum, $bHeadersEnabled)
Those are all the changes for tabbed_products_pro.php.Code:function get_include_contents($filename) {
if (is_file($filename)) {
ob_start();
include $filename;
$contents = ob_get_contents();
ob_end_clean();
return $contents;
}
return false;
}
Of course, in each product description where I want to display the size chart, I need to use this line:
Again, change yours to suit your needs.Code:<!--%Size Chart%-->
I hope this helps some people.
Cheers. :smile:
Reading through this thread led me to pause before installing the latest incarnation, 1.06c.
Does the ZC collective still hold the opinion that 1.05 is still the most reliable version?
Thank you
There are plenty of CSS alternatives for changing the look of the tabs, however, if you want a clean look then change the background every CSS in the TPP folder to transparent.
Then change the text color to match, or stand out from, your current CSS.
Example for alt_tpp_tabs6.css (line 49)
Change the entries in red.
Code:.tabcontent {
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
background:white none repeat scroll 0 0;
border-bottom:1px solid;
clear:both;
color:black;
display:none;
float:left;
width:100%;
Could someone give me a little help adding a tab?
I have Wish List v0.4 and I'd like to add a tab that will take customers to /index.php?main_page=un_wishlist
Thank you
So I have a clean install of 1.3.8
The only thing I have added is captcha_using_ttf__gd_2-9. That works fine. I then added
tabbed_products_pro_1-06c.
It is half working. I have the controls within admin and also see the default 3 tabs to the 6 test products I have on my site (products were created before mod)
When either I attempt to edit one of these 6 products or create a new one I get a blank page when I hit PREVIEW. No error cods nor any page code what so ever.
I searched here and via Google for variations of:
Tabbed Products Pro TPP blank page preview white screen not uploading
but didnt find anything.
Hope someone can help.
I dropped the entire site.
Reloaded. Installed the .5 version and it works 100%.
Not sure what all the stuff in the .6 version is but
there is no load time issues or differences in my site with this mod.
I have installed tab pro andit worked great until I looked at my log in/registration/checkout pages. They are losing the css formatting when they get displayed. I have narrowed the issue to the html_header.php file. The file supplied with my template works normally but the file supplied with the tap pro distribution screwsa up the pages. I checked the code and there are lots of differences, especially in the way the css files are loaded.
I am using a purchased template that like I said works perfectly until that one file is replaced. Any ideas?
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.
For future reference the correct way to do this for any module/add-on you install is to use a program like Winmerge or Beyond Compare, and merge any changes between the modules files and your store files.
I know you are saying "Isn't that what I did??" Yes it is, but Winmerge or Beyond Compare helps those who may be code challenged (or even those who aren't) to SEE that the code goes in the correct location. You can see your store's original file and compare it to the module's file. Both programs clearly highlight the differences and facilitate the merging of the code process..
This is handly for you to know as many modules could overwrite existing store files.. Some mod authors will let you know when there are files that overwrite core files. For those that don't I always make a habit out of comparing ALL the module files to my existing store to look for file overlaps before I install. I use Beyond Compare to merge any changes between my store and the module files, then I upload the modules with the merged files.
I am at a loss here... am hoping someone can help.
How do you stop the tabs from resizing? i have dug through all of the CSS, is this hard coded somewhere? I want the tabs to stay the same size!! :)