-
Tabbed Products Pro (TPP) Contrib - Official Thread
New Release:
Tabbed Products Pro is the superior replacement of Tabbed Products 'Lite'. I have completely rewritten the tab code to make the tabs more optimzed, use less files, and be easier than ever to instantly tab your products display page. Although it is now actually more "lite" than ever, I feel that pro is a good evolutionary step in the naming convetion. I also renamed it so that we could get away from that old TPL thread as it was getting a big large and unruly. A new contrib name and a new thread to go with it for a fresh start.
Some Features of TPP:
- Global tabs can be set from the Admin configuration area to apply tabs instantly to all products
- Tabs can also be added manually to product decriptions
- All tab calculations are in the module file only. No more additional template files.
- There are only 2 little code snippets required to add tabs to your custom layouts, or use the included product template.
- Fully w3 validated
- Reverts back to normal view when javascript is disabled
- Does not change any data, leaving SEO, Meta, and product information intact.
- Uses built-in Zen-Cart modules for creation of Zen-based tabs. Should prove transparent to future ZC releases.
TPP uses a completely new method of tabbing. Instead of relying on PHP checks to see if a tabbed version of a module needs to be used and the non-tabbed version needs to be skipped, the new tabs use some extremely creative javascript to create the tabs, and hide the rest.
View a demo
The first version is a BETA. It has been fully tested but I just know someone might find some little snag so I will give you guys a chance at it before I make it a full final release.
I'd also like to hear your comments, questions, advice, and/or insults as you what you dislike or would like to see in future versions.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
It is important to note that you MUST remove all old "Tabbed Products Lite" files before using Tabbed Products Pro. Or at least the javascript file, but its just good to get rid of all the old stuff.
To figure out which files they are, simply refer to the Tabbed Products Lite 3.8 download.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
I have few comments, not about the approach used - which seems fine - but about its comprehensibleness! My comments are based on the demo, so it's possible that there are some options that I have missed - if so, I apologise in advance.
First though a small gripe, which may be outside your control. The first time I viewed the demo it took several seconds for the javascript to kick in. I guess the whole page plus javascript needed to be downloaded before the javascript could be executed. But it felt a bit odd when a page I was starting to read, suddenly reorgnaized itself and image that I had been looking at (an also puchased product) disappeared. To a customer I suspect taht this would feel like something had gone wrong.
The main issue for me is that this seems to breach some of the golden rules of e-commerce. Top of the list is that the buy (or in the demo "add to cart") button is not big, bold and unmissable - it's hidden in tab 4. I'd bring this back out and onto the main part of the page.
I'd bring the also purchased out too. Its purpose is to upsell the customer and that gets lost if we have to rely on the customer going to search for it.
And finally, I'd bring the attributes out too. At the moment somebody who wants to buy a product and goes and adds it to the cart may be completely unaware of the options available (including those that are effectively upsells) and if they make a mistake and don't choose them first, have to delete the product out of the cart and start again (though there's a mod to allow return to the product info page).
So, overall, I like what you've done, but would recommending restricting it to the informational aspects of the product (description, info, reviews) and excluding the transactional (choose options, buy, upsell).
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
kuroi
First though a small gripe, which may be outside your control. The first time I viewed the demo it took several seconds for the javascript to kick in. I guess the whole page plus javascript needed to be downloaded before the javascript could be executed. But it felt a bit odd when a page I was starting to read, suddenly reorgnaized itself and image that I had been looking at (an also puchased product) disappeared. To a customer I suspect taht this would feel like something had gone wrong.
Yea, this was a last second thing that I changed. It used to load right away but I was trying to see if maybe it was better to load the page first, then load the tabs. I too think that loading them right away is a better idea. I'll put that back to instant in the next version, instead of waiting for the page load.
Quote:
Originally Posted by
kuroi
The main issue for me is that this seems to breach some of the golden rules of e-commerce. Top of the list is that the buy (or in the demo "add to cart") button is not big, bold and unmissable - it's hidden in tab 4. I'd bring this back out and onto the main part of the page. I'd bring the also purchased out too. Its purpose is to upsell the customer and that gets lost if we have to rely on the customer going to search for it. And finally, I'd bring the attributes out too. At the moment somebody who wants to buy a product and goes and adds it to the cart may be completely unaware of the options available (including those that are effectively upsells) and if they make a mistake and don't choose them first, have to delete the product out of the cart and start again (though there's a mod to allow return to the product info page).
You maybe not be familiar with TPL (tabbed products lite), as that "WAS" what I made sure of. I put code in there to always ensure that Add to Cart, Attribs, and Qty Discount were on the first tab, even if it was a custom tab. But over the last hundred pages, there were constant requests from people to be able to put each of these on their own tab. So they asked for it, I just implemented. Don't shoot the messenger... err programmer... :P (Tho I think most stores that have tabs do have the Also purchased stuff as a tab.. I don't know if thats all that dangerous)
Quote:
Originally Posted by
kuroi
So, overall, I like what you've done, but would recommending restricting it to the informational aspects of the product (description, info, reviews) and excluding the transactional (choose options, buy, upsell).
Keep in mind that any of those tabs can also be set to non-tabbed and go back to their original position from the admin section. So it's not as if they are all locked into a tab. You can certainly set it up like:
Tab1 - Product Description
Tab2 - Product Details
Tab3 - Additional Images
and have AddtoCart, Attribs, and Customer Also Purchased under the tabs in their normal positions.
or you could do
Tab1 - Product Descritption
Tab2 - Customers Also Purchased
Tab3 - Reviews
and have Add to Cart, Attribs, Additional images, and cross sell on the bottom in their normal position.
It is completely up to the store admin now, I don't want to tell people how to run their store anymore.
Prediction: People will realize what you and I are saying here and in the next version they will all be like "can i have add to cart on same page as attribs!!" and thats just the reality of ideas vs on-paper.
But TPP is very easy to modify things like that now, aside from using manual tag edits in the product description to add/combine modules on the same tab, you can also make minor code changes to globally apply that.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Ok, I've updated the demo with instant loading tabs now instead of waiting for the page to load.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Fair comments and I think we're actually on the same page. I've now peeked behind the scenes and seen the configuration available and I think we work the same way: keep it light, make it flexible, offer all the options, hope that people use them wisely.
So my earlier comments would be better aimed at users of your excellent mod and boiled down to "don't hide your add-to-cart button!"
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
So is the link provided the latest version?
The link you have in your signature is not updated (It goes to the lite version)
Now I know this would probably be a bit of a re-write, However.
Would it be possible to make things best for all worlds.
Global Options for each tab? This way I suppose I can put the
Add to cart on the first page (Description) and the tab for attributes.
Now, to combat the confusion. My next thought was to ask how to change
the color to the attributes tab to a color like yellow to make sure that it
was noticed.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Hi,
Is it possible to have the description etc. (in tabs) beside the image with this version?
Regards
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
milobloom
So is the link provided the latest version?
The link you have in your signature is not updated (It goes to the lite version)
Now I know this would probably be a bit of a re-write, However.
Would it be possible to make things best for all worlds.
Global Options for each tab? This way I suppose I can put the
Add to cart on the first page (Description) and the tab for attributes.
Now, to combat the confusion. My next thought was to ask how to change
the color to the attributes tab to a color like yellow to make sure that it
was noticed.
The use of global sub tags isn't (yet) supported. However, I did make it quite easy to change the code to do that. Simply by copy/paste one variable in the module file. I can help with that if that is what you like.
As far as the tab colors. They use image files that are also included. By default i have the tabs set to use the silver tabs style. But you can edit the stylesheet_tpp.css file to change the tab images to a different image. Check the images folder for other colors.
You can also change the stylesheet_tpp.css to make different hover colors and fonts.
And finally, you can edit the tpp languages file and use html right in that file and that will apply to the tab names. So you could change the text for Attributes to <b><font color="#FF0000">Attributes</font></b>
I've also updated my sig. thx
Quote:
Originally Posted by Berserker
Hi,
Is it possible to have the description etc. (in tabs) beside the image with this version?
Regards
Are you referring to being able to have the Main image on the tabs with the product description? Like this example I actually removed that option as a way to make things easier in the code. But after I came up with the magic javascript version, I didn't think about adding it back in. I wasn't sure if anyone used that option. I will take a look and see if it would be easily added back in.
-=-=-=-=-=-=-=-=-=-=-=-=-=-
Latest version is attached:
Minor Fixes:
- Load the tabs instantly instead of waiting for the page to load.
- Added instructions on how to add tabs to existing tpl_product_display_info.php files
Files Affected:
- /templates/tpl_product_display_info.php
- /jscript/jscript_tpp.js
- /modules/tabbed_products_pro.php
- /doc/readme_tabbed.html
-
1 Attachment(s)
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
qhome
Are you referring to being able to have the Main image on the tabs with the product description? Like
this example I actually removed that option as a way to make things easier in the code. But after I came up with the magic javascript version, I didn't think about adding it back in. I wasn't sure if anyone used that option. I will take a look and see if it would be easily added back in.
I was refering to the layout like in the attached image. At the moment, I have the details below the image so there is a bit too much empty space. Just wondering if this can be done, if not or it's too much work, please don't worry. Thanks for this great mod!
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
ahh i see... well that is more of a custom layout in itself. Now if you did have that layout, you should be able to simply put the tab block code in there and it should work. Do you have an existing template that has image to the left and description to the right?
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
I currently have the image to the left, all buttons to the right and the description below.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Thanks for your hard work qhome. Looking forward to testing out your new beta version.
Cheers,
Jamey
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
Berserker
I currently have the image to the left, all buttons to the right and the description below.
Keep in mind that Zen-cart uses a 95% div-based layout. Meaning that you can manipulate the layout of the product page using just css.
Take a look at www.csszengarden.com (not related to zen-cart). You can see there how people have taken the same simple div-based page and using only css have created hundreds of different looks, all without changing the page code. At some point I hope ZC makes it this easy. The problem however is with fallibility of "the holy grail" 3-column layout and the existing table based structure in place of it that prevents it.
I was sure to give the tab block a div id (id="tpptabBlock") for that reason. So if you have some css experience, you can easily change things around.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
I have this
Quote:
//BOF :: Tabbed Products Pro :: ?>
On every page...
"http://www.allforyourwedding.com/~noah/index.php?main_page=product_info&cPath=242&products_id=1652
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
milobloom
I have this
On every page...
"http://www.allforyourwedding.com/~noah/index.php?main_page=product_info&cPath=242&products_id=1652
Ahh.. yes sorry.. i see it in my demo too. hold while i fix it.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Ok fixed:
22-Jan-2008 - v0.3BETA - qhome
* Removed extra ?> tag that was causing some php comments to show on product page
* Minor change to the Additional Images tab check to use the official additional images module to check instead of a localized version.
* Files Modified:
o templates/tpl_product_display_info.php
o module/tabbed_products_pro.php
o doc/readme_tabbed.html
New version attached.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Did you say there was a way to make the Attributes Tab a different color?
Otherwise, Its looking great! We opted for putting the Add to cart on every tab so we want the attributes tab to stand out.
Also, The product number is appearing on the bottom of my description. How do I get rid of that?
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
milobloom
Did you say there was a way to make the Attributes Tab a different color?
Otherwise, Its looking great! We opted for putting the Add to cart on every tab so we want the attributes tab to stand out.
Also, The product number is appearing on the bottom of my description. How do I get rid of that?
The product number isn't related to anything that I did, although I am using the 1.3.8a template file as my base so maybe it is something new in 1.3.8a. I think there might be a menu in the admin area to turn it off.
From the look of your wedding site, it looks like you don't have add to cart on a tab at all. It appears to be at the bottom of the tabs so that it is always visible, which I think is best. But I do like the way the attribs worked out on the customize tab :)
For different tabs, I include additional images in the images folder. I used to have different stylesheets for each set of images, because the images weren't always the same size so they each needed different positioning parameters.
I am trying to do away with having multiple stylesheets as that can be confusing. But I need to make the images of the tabs all the same exact size so that one css can work with all the included tab images.
You can check the images folder in your template to see some other colors.. but I also have a few more that I might like to convert. If you would like those colored tabs for now, let me know and I will give u the stylesheet that works with them until I take the time to resize them all to be the same.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
What I am looking for is to make JUST the attributes tab a different color.
Would that be possible? Or would that need a style sheet change?
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
milobloom
What I am looking for is to make JUST the attributes tab a different color.
Would that be possible? Or would that need a style sheet change?
The tab image or the tab text?
The tab text would be easy. You could even add a little icon to the tab like this example:
http://www.unbannable.com/zen/index....&products_id=4
(notice the Attention tab)
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Okay. That works. How do I do that?
(Sorry I am not much of a programmer...)
I like the way the different color looks.. Is this all HTML??
Also. I checked Configuration -> Product Listing -> Display Product Model
is set to 0
This only popped up when I installed the mod.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
milobloom
Okay. That works. How do I do that?
(Sorry I am not much of a programmer...)
I like the way the different color looks.. Is this all HTML??
Also. I checked Configuration -> Product Listing -> Display Product Model
is set to 0
This only popped up when I installed the mod.
Ok, that is probably something new with 1.3.8a then (I assume you are still using 1.3.7?) I will assess the differences between 1.3.7 and 1.3.8a
To make the colors and add images and stuff it is fully HTML.
Step 1: Edit the /includes/languages/english/extra_definitions/tabbed_products_pro.php file
(I assume you already changed the language file from 'Attributes' to be 'Step 2: Customization\Options' or something like that)
Change this:
Code:
define('TEXT_TAB_TITLE_ATTRIBS', 'Attributes');
To this:
Code:
define('TEXT_TAB_TITLE_ATTRIBS', '<b><font color="#FF0000">A</font>t<font color="#660066">t</font>r<font color="#00ff00">i</font>butes</b>');
assuming you are familiar with basic html, that will bold that tab, and make the first few letters be colored. follow along with as many other colors that you want. Just be sure you don't change the surrounding define('TEXT_TAB_TITLE_ATTRIBS', ' or '); parts
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
heh heh Tried and achieved somewhat... Now the format looks a little off.
I borrowed your image...
http://www.allforyourwedding.com/~no...oducts_id=1682
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
qhome
Keep in mind that Zen-cart uses a 95% div-based layout. Meaning that you can manipulate the layout of the product page using just css.
Take a look at
www.csszengarden.com (not related to zen-cart). You can see there how people have taken the same simple div-based page and using only css have created hundreds of different looks, all without changing the page code. At some point I hope ZC makes it this easy. The problem however is with fallibility of "the holy grail" 3-column layout and the existing table based structure in place of it that prevents it.
I was sure to give the tab block a div id (id="tpptabBlock") for that reason. So if you have some css experience, you can easily change things around.
I just tried changing the layout using css and did managed to get it to the way I wanted but looked a bit messy and compact. I guess im sticking with what I had before.
I installed the latest version and im getting "done, but with errors on page" on the product page?
thanks
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
milobloom
Looks like you are missing a closing </font> tag at the end cuz the rest of the font on that page is purple. But the tab text looks good. The other problem you appear to be having is that your template is fixed width and your tabs are wrapping around because they ran out of room. A good fix for this would be to put <br/> tags in between all the language file definitions. It will make it look something like this:
http://www.unbannable.com/zen/index....&products_id=5
Quote:
Originally Posted by
Berserker
I just tried changing the layout using css and did managed to get it to the way I wanted but looked a bit messy and compact. I guess im sticking with what I had before.
I installed the latest version and im getting "done, but with errors on page" on the product page?
thanks
can u Pm me your site link.. or copy/paste the error it shows when you double click on that little x next to "Done, but with errors". It's usually just a javascript object is null or something small but I want to make sure I catch them all.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Oh thanks for the </b> advise! It looks great now!
No I just need to play around with the layout a bit more...
Awsome though... Thanks for the great mod!
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Ok... Just a couple of things...
1)How do I change the order of the tabs. I think Additional Images should go after Description then Attributes.
2) Can I add a space before and after the large line on the bottom?
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Argh
I noticed one thing. (I dont know if others get this as well)
After installing this mod my Lightbox mod only worked for the additional images and not the main image.
I re installed the Lightbox mod to see if it would fix the problem. It did but left some characters next to the main image....
(Sorry for all the posts... Really into this mod 8o)
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
just to be sure.. what version of ZC are u running? those numbers are the same as the model number in the title.. something is fishy with those
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
are you using ur own custom product template? or the one I included? cuz i dont have those numbers. I will try lightbox mod to see if i can reproduce what you are seeing with those numbers. Tho I can see you have left an extra "> in the code when u added the lightbox stuff which is causing it to show in the small text.
to answer your earlier questions:
1. changing the order at this time can only be done by changing the code in the /modules/tabbed_products_pro.php file. It's not very hard if you know how to read php but it can be confusing to most. I think I have a way of getting order via admin to work but it might take a little more rewriting and brainstorming.
For now, I will send you a modified version with the additional images first.
2. To add more space, you can add that in the css I believe if you add some padding to the tabcontainer setting.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
qhome
Looks like you are missing a closing </font> tag at the end cuz the rest of the font on that page is purple. But the tab text looks good. The other problem you appear to be having is that your template is fixed width and your tabs are wrapping around because they ran out of room. A good fix for this would be to put <br/> tags in between all the language file definitions. It will make it look something like this:
http://www.unbannable.com/zen/index....&products_id=5
can u Pm me your site link.. or copy/paste the error it shows when you double click on that little x next to "Done, but with errors". It's usually just a javascript object is null or something small but I want to make sure I catch them all.
The error is no longer there after fresh install. It might have been in the way I installed it before as I had all files uploaded to my own template.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
The error re-appeared for some reason. I sent you the pm regarding the details.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
I found the problem. It was the way it was loading the javascript, sometimes it loses track of its own function bracket when its multilined. It was due to the multiple custom tabs calling a script for the header with the lines not wrapping properly.
Fixed and attached:
- Fixed a minor jscript bug showing "syntax error" in IE.
- File Affected:
modules/tabbed_products_pro.php
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Hello there,
This mod looks great! Just had one question about the attributes:- if I turn that tab off, does it not show up as normal like the Add To Cart does? Just wondered, or maybe it a setup issue on my cart.
Thanks in advance,
Heathemagic
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
HeathenMagic
Hello there,
This mod looks great! Just had one question about the attributes:- if I turn that tab off, does it not show up as normal like the Add To Cart does? Just wondered, or maybe it a setup issue on my cart.
Thanks in advance,
Heathemagic
yes that is what it should do. As seen here
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Hello qhome,
Thanks for that. Sorry my bad. I have a heavily customied product info display file so I will have to merge it better. Sorry for messing you about. Here is an example of a page anyhow:-
http://www.thegemtree.com/index.php?...roducts_id=284
Just out of interest, once I have tinkered with the CSS and once I reestablish the attribute box, is it possible to have the attribute box appear below the Add To Cart, Add To Wishlist area, running down the left of the tabbed area. Just thought I'd ask so I don't break the running of things.
Thanks,
Heathenmagic :smile:
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
qhome
I found the problem. It was the way it was loading the javascript, sometimes it loses track of its own function bracket when its multilined. It was due to the multiple custom tabs calling a script for the header with the lines not wrapping properly.
Fixed and attached:
- Fixed a minor jscript bug showing "syntax error" in IE.
- File Affected:
modules/tabbed_products_pro.php
Uploaded the new modules file and the error has been fixed. Thanks a lot!!!
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
HeathenMagic
Hello qhome,
Thanks for that. Sorry my bad. I have a heavily customied product info display file so I will have to merge it better. Sorry for messing you about. Here is an example of a page anyhow:-
http://www.thegemtree.com/index.php?...roducts_id=284
Just out of interest, once I have tinkered with the CSS and once I reestablish the attribute box, is it possible to have the attribute box appear below the Add To Cart, Add To Wishlist area, running down the left of the tabbed area. Just thought I'd ask so I don't break the running of things.
Thanks,
Heathenmagic :smile:
Yes. basically if it is not in the tab, it will go back to whereever you have it in your custom template.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
wrong place please delete
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Still cant figure out how to get rid of that model number.
I tried deleting the lines in Product Info Display but they still show up.
Also removed Image Handler (Which solved one of the problems before) However that product ID keeps showing up
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
milobloom
Still cant figure out how to get rid of that model number.
I tried deleting the lines in Product Info Display but they still show up.
Also removed Image Handler (Which solved one of the problems before) However that product ID keeps showing up
It's funny I do have it on my site too when the tabs are enabled. I will look into it tonight.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
It's funny I do have it on my site too when the tabs are enabled. I will look into it tonight.
Thank you so much... (Oh and TY for the tab moves) I think it looks right now..
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
OK Fixed: :smile:
Fixed: Prevent product title from including model number
Files affected:
-modules/tabbed_products_pro.php
Attached
(Milo, don't use this one. Use the one in your PM)
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
qhome, I like what you have done with this mod. I have one question that really bugs me from what I see in the demos. Can the category header style line below the tabs be changed into a <hr> or a thin shadowed line instead of the HEAVY border that I see?
Then for wide templates can the Add to Cart and discounts box be moved up adjacent to the picture?
Thanks
JOhn ><>
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
Stuff4Toys
qhome, I like what you have done with this mod. I have one question that really bugs me from what I see in the demos. Can the category header style line below the tabs be changed into a <hr> or a thin shadowed line instead of the HEAVY border that I see?
Then for wide templates can the Add to Cart and discounts box be moved up adjacent to the picture?
Thanks
JOhn ><>
You could get rid of the header below the tabs in admin. You could move the Add to Cart etc. using css.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Cool, I am setting up a test server to test 1.3.8 and several mods, I think I will include your mods.
Thanks
JOhn ><>
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
All credit goes to Qhome :)
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Berserker is right about the tab headers and the css. The tabs should not affect the positioning of any other parts of the product info display template so, for example, you could use any of the product layouts that Clyde created and simply add the snippets of code from the TPP readme to those pages and the tabbed stuff would be where you want them to be with the non-tabbed stuff being where he set it up to be.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Hi i am working on add ing this contrib (0.5 beta)
to a zencart 1.3.7 site and i receive this error on product_info
[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 'MAX_DISPLAY_XSELL' at line 8
in:
[select distinct p.products_id, p.products_image, pd.products_name from zen_products_xsell xp, zen_products p, zen_products_description pd where xp.products_id = '3782' and xp.xsell_id = p.products_id and p.products_id = pd.products_id and pd.language_id = '1' and p.products_status = 1 order by xp.sort_order asc limit MAX_DISPLAY_XSELL]
i allready had cross sell running before i added the
tpl_product_info_display.php file but it seems to be erroring out
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
sgflowers
Hi i am working on add ing this contrib (0.5 beta)
to a zencart 1.3.7 site and i receive this error on product_info
[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 'MAX_DISPLAY_XSELL' at line 8
in:
[select distinct p.products_id, p.products_image, pd.products_name from zen_products_xsell xp, zen_products p, zen_products_description pd where xp.products_id = '3782' and xp.xsell_id = p.products_id and p.products_id = pd.products_id and pd.language_id = '1' and p.products_status = 1 order by xp.sort_order asc limit MAX_DISPLAY_XSELL]
i allready had cross sell running before i added the
tpl_product_info_display.php file but it seems to be erroring out
looks like the advanced cross sell addon removed some of the cross sell configuration that this looks at - all is good as far as this now
-
1 Attachment(s)
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
2 issue configuring the layout i want
on zen 1.3.7 & TPP 0.5 beta
1) i want the attributes right below the product description above the tabs
but i can't seem to get it to display in the right place - it either goes below the tabs or above the description > i attached my tpl_product_info_display.php
2) i cannot get the model # (details) to appear on my custom tab it only seems to appear below
in my product html code i have
<!--%Product Details%-->
<p><strong>Features:</strong></p>
<ul>
<li>dog accent</li>
<li>large strap</li>
<li>available in aqua, black, or red</li>
</ul>
<p><strong>Material:</strong></p>
<ul>
<li>durable synthetic leather</li>
</ul>
<p><strong>Size: (w x h x d)</strong></p>
<ul>
<li>17 x 11 x 4 inches (43 x 28 x 10 cm)</li>
</ul>
<!--*sub_DetailsOnTabs(1)*-->
-
1 Attachment(s)
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
i think i attached the wrong tpl_product_info_display
here is the one i am currently using
you can also see it here
http://www.secretgardenflowers.com/i...oducts_id=3782
I still have both issues
1) i want the attributes right below the product description above the tabs
but i can't seem to get it to display in the right place - it either goes below the tabs or above the description > i attached my tpl_product_info_display.php
2) i cannot get the model # (details) to appear on my custom tab it only seems to appear below
-
1 Attachment(s)
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
sgflowers
i think i attached the wrong tpl_product_info_display
here is the one i am currently using
you can also see it here
http://www.secretgardenflowers.com/i...oducts_id=3782
I still have both issues
1) i want the attributes right below the product description above the tabs
but i can't seem to get it to display in the right place - it either goes below the tabs or above the description > i attached my tpl_product_info_display.php
2) i cannot get the model # (details) to appear on my custom tab it only seems to appear below
ok maybe i can work off of this
I attached the current tpl_product_info that i have modified from clyde's layout
http://mysticmountainnaturals.com/te...products_id=21
but what i am trying to change:
- add to cart & attributes just below description on right column
- custom "product details tab" and include details such as model# in this tab
- additional images and cross sell and review in tabs
can anyone suggest how to modify clyde's page to accommodate the above?
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
I will take a look at it and see what I can do. The sub_details on tab thing might be a bug.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
I came across this site and like its tabbed setup. ( Description Features Specifications Warranty Downloads)
a) It looks like TPP will allow something similar, is this correct?
b) Will a store search still yield results based on the tabbed product descriptions?
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
kai920
I came across
this site and like its tabbed setup. ( Description Features Specifications Warranty Downloads)
a) It looks like TPP will allow something similar, is this correct?
b) Will a store search still yield results based on the tabbed product descriptions?
A) Sure.. you can disable the images and use dotted borders
B) There is no code on the server to change search results. It is completely javascript based on the client so there is absolutely nothing to affect results
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Thanks for your reply.
Quote:
Originally Posted by
qhome
B) There is no code on the server to change search results. It is completely javascript based on the client so there is absolutely nothing to affect results
Going back to the previous link, I see that they have detailed specifications listed in a table. So this is just done via simple HTML inside each product's description field, and not in a database?
Off-topic: Is there a mod that will add extra fields such as detailed specs via additional tables in the DB?
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
kai920
Thanks for your reply.
Going back to the
previous link, I see that they have detailed
specifications listed in a table. So this is just done via simple HTML inside each product's description field, and not in a database?
Off-topic: Is there a mod that will add extra fields such as detailed specs via additional tables in the DB?
The Table is likely just html in the product description area, or their cart's detailed specs could be a separate tabular entity. Either way, it can work with TPP (the second option would require a few code modifications but its rather simple)
Zen-Cart refrained from using tables to keep things more div based.. but sometimes a table is a safe option.
There are mods that can be made for ZC to add additional modules for that.. just need someone to make the one you want.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
sgflowers
ok maybe i can work off of this
I attached the current tpl_product_info that i have modified from clyde's layout
http://mysticmountainnaturals.com/te...products_id=21
but what i am trying to change:
- add to cart & attributes just below description on right column
- custom "product details tab" and include details such as model# in this tab
- additional images and cross sell and review in tabs
can anyone suggest how to modify clyde's page to accommodate the above?
Ok, the sub details thing isn't a bug. The tag you are using is "<!--*sub_DetailsOnTabs(3)*-->" but should be singular, not plural:
<!--*sub_DetailsOnTab(3)*-->
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
sgflowers
ok maybe i can work off of this
I attached the current tpl_product_info that i have modified from clyde's layout
http://mysticmountainnaturals.com/te...products_id=21
but what i am trying to change:
- add to cart & attributes just below description on right column
- custom "product details tab" and include details such as model# in this tab
- additional images and cross sell and review in tabs
can anyone suggest how to modify clyde's page to accommodate the above?
I'm not quite sure what you are after. Do you want something like the image I attached? That would take a little CSS work but shouldn't be too hard to do. I'm unfortunately not very good at CSS. (I used a table to hack mine together :P)
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
qhome
Ok, the sub details thing isn't a bug. The tag you are using is "<!--*sub_DetailsOnTabs(3)*-->" but should be singular, not plural:
<!--*sub_DetailsOnTab(3)*-->
Actually that is a bug. It SHOULD be plural... according to my documentation. I see I made a similar error with the AttribsOnTabs too I'll update the doc. The code will remain tho.. so it will stay singular
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
qhome
I'm not quite sure what you are after. Do you want something like the image I attached? That would take a little CSS work but shouldn't be too hard to do. I'm unfortunately not very good at CSS. (I
used a table to hack mine together :P)
yes thats it
can anyone help with the css?
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
kai920
I came across
this site and like its tabbed setup. ( Description Features Specifications Warranty Downloads)
a) It looks like TPP will allow something similar, is this correct?
b) Will a store search still yield results based on the tabbed product descriptions?
If you look at the document source you will see that's it's Zen Cart.
ghome, is that your mod?
JOhn ><>
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
qhome
I'm not quite sure what you are after. Do you want something like the image I attached? That would take a little CSS work but shouldn't be too hard to do. I'm unfortunately not very good at CSS. (I
used a table to hack mine together :P)
Hi could i get a copy of your table layout
i will try to convert to css using that as a reference?
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
Stuff4Toys
If you look at the document source you will see that's it's Zen Cart.
ghome, is that your mod?
JOhn ><>
Ah yea you're right it is zencart. No that's not my mod. That one is using the default 5 tab structure hard coded so that all tabs say the same thing. And they are hardcoded into the template page instead of using an external module or div block.
sg.. that template is zc1.3.7 just so you know (not that much has changed from 1.3.7 to 1.3.8)
I will have to clean it up a bit to work with the new tabs (as there is some hardcoding there)
I'll see if I can work on it today.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
sgflowers
Hi could i get a copy of your table layout
i will try to convert to css using that as a reference?
Quote:
Originally Posted by
qhome
Ah yea you're right it is zencart. No that's not my mod. That one is using the default 5 tab structure hard coded so that all tabs say the same thing. And they are hardcoded into the template page instead of using an external module or div block.
sg.. that template is zc1.3.7 just so you know (not that much has changed from 1.3.7 to 1.3.8)
I will have to clean it up a bit to work with the new tabs (as there is some hardcoding there)
I'll see if I can work on it today.
you got me confused now > happens often
are you saying the product info display layout on your link is from a specific template?
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
sgflowers
you got me confused now > happens often
are you saying the product info display layout on your link is from a specific template?
I hardcoded the tables in my product info template on that link I gave to work with my old Tabbed Products Lite contrib. Which means that it is riddled with confusing code and stuff. To make it work with TPP i would need to rip out the TPL stuff first.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
I just installed your mod and love it! Thanks for the great contrib!
Had a quick question. On my product page the description shows, then below that is the add to cart, and then below that is the tabbed products row with my tabs.
How do I go about moving this so that the tabs are above the description?
Thanks!
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
simetra
I just installed your mod and love it! Thanks for the great contrib!
Had a quick question. On my product page the description shows, then below that is the add to cart, and then below that is the tabbed products row with my tabs.
How do I go about moving this so that the tabs are above the description?
Thanks!
Are you using a custom product info template that has other changes besides the tabs?
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
Marg
Thank you, qhome
you are welcome :)
I'm working on adding some additional tab images. Trying to make them all the same size so that they can be easily swapped. Some examples can be seen on my demo site. (Im using a little javascript there to show them off, but thats not part of the tab contrib)
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Probably not a TPP Issue, but figure I could ask it here anyway.
I want my Qty Discounts box to be 1x4
This doesn't look so right in 2x3
http://www.allforyourwedding.com/~no...oducts_id=1883
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
milobloom
Not related, but that setting is in:
Code:
Configuration->Layout Settings->Product Discount Quantities - Display how many per row?
Oddly enough it doesn't seem to work for me.. but i didnt test it much. I get 5 rows across. Not sure how most get 2x3 and stuff
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
qhome
Not related, but that setting is in:
Code:
Configuration->Layout Settings->Product Discount Quantities - Display how many per row?
Oddly enough it doesn't seem to work for me.. but i didnt test it much. I get 5 rows across. Not sure how most get 2x3 and stuff
I'm looking back at my zc1.3.6 install too. It's broken there too. Looks like it never worked right. Might be worth mentioning in the zencart bugs forum.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Configuration->Layout Settings->Product Discount Quantities - Display how many per row?
Oddly enough, I just set mine to 3 and I got what I wanted.
http://www.allforyourwedding.com/~no...oducts_id=1950
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
heh weird.
I have a product with 6 prices
- I set it to 1 and get 1 row with 3 across, 1 row with 2 across, 1 row with 2 across (the last one is blank td cell)
- I set it to 2 and get 1 row with 2 across, 1 row with 4 across
- I set it to 3 and get 1 row with 6 straight across.
- I set it to 4 and get 1 row with 5 across, 1 row with 1 across
Hokey much.
this also happens with the default template (non-tabbed). weird
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
qhome
heh weird.
I have a product with 6 prices
- I set it to 1 and get 1 row with 3 across, 1 row with 2 across, 1 row with 2 across (the last one is blank td cell)
- I set it to 2 and get 1 row with 2 across, 1 row with 4 across
- I set it to 3 and get 1 row with 6 straight across.
- I set it to 4 and get 1 row with 5 across, 1 row with 1 across
Hokey much.
this also happens with the default template (non-tabbed). weird
Oh i see the problem. It does rows but doesn't account for columns. So it seems to be randomly making columns or something. I'll have a peek at the code to figure what it's doing. It is also counting the header and footer fields as part of the rows... :lookaroun
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
I am using the lavender template but nothing specific for product info display. Here is an example: www.simetraonline.com/demo
If you go to Oil Burners > Blue Butterfly you will see where the tabs are and how it displays.
I am not sure if this is something in the css for this mod or something else that controls that layout so that the tabs are above the description and not below like they are.
Thank you
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
simetra
I am using the lavender template but nothing specific for product info display. Here is an example:
www.simetraonline.com/demo
If you go to Oil Burners > Blue Butterfly you will see where the tabs are and how it displays.
I am not sure if this is something in the css for this mod or something else that controls that layout so that the tabs are above the description and not below like they are.
Thank you
The tabs are designed to be below the description if the description is not on the tabs. Are you saying you want the tabs above the description?
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Ahh okay. I see how it changes if I add it to the tab! Thanks for your help!
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
One last question for you...how do I change the color of the tab? I saw there were additional images in the image folder but how do you change to one of those? I am trying to get a tab color that goes with red.
Thanks again!
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
simetra
One last question for you...how do I change the color of the tab? I saw there were additional images in the image folder but how do you change to one of those? I am trying to get a tab color that goes with red.
Thanks again!
I will add support for that in the next release. Couple days
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
great addon qhome , just installed it on a pre production site, easy and straightforward.
I was about to mess with the product_info template to get the image inline with the description and under the tabs ( as in an earlier thread , and in your demo )
Firstly just wondering if you are putting this functionality back in before I change it. no point re inventing the wheel !
Second thing , and it may be nothing , but I created a custom tab , inserted a hyperlink in , which was fine , i also used img src in the hyperlink , this works fine in Firefox, but does not show the image in IE ! I was wondering if its because of the Javsacript ? I just want to use it for the customer to be able to click on a pdf icon and download the datasheet for the product.
Just wondered if you had any ideas about that !
Thanks again
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
crazycucumber
great addon qhome , just installed it on a pre production site, easy and straightforward.
I was about to mess with the product_info template to get the image inline with the description and under the tabs ( as in an earlier thread , and in your demo )
Firstly just wondering if you are putting this functionality back in before I change it. no point re inventing the wheel !
Second thing , and it may be nothing , but I created a custom tab , inserted a hyperlink in , which was fine , i also used img src in the hyperlink , this works fine in Firefox, but does not show the image in IE ! I was wondering if its because of the Javsacript ? I just want to use it for the customer to be able to click on a pdf icon and download the datasheet for the product.
Just wondered if you had any ideas about that !
Thanks again
Hmm.. I will take a look at hyperlinked images to see if there is a problem. I forgot about adding main image as a tab option again. I will look into adding that too.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
~UPDATE~
NEW VERSION: TPP 0.6BETA
07-Feb-2008 - v0.6BETA - qhome
Code:
* Added "Main Image On Tab" option to allow ability to put main image on the first tab with Product Description.
You can add this globally from the admin or
use <!--#MainImageOnTab#--> tag within the product description to use this feature.
* Files Modified:
o modules/tabbed_products_pro.php
o jscript/jscript_tpp.js
o doc/readme_tabbed.html
o TabbedProductsPro.sql
VIEW DEMO
I am almost ready to release a Version 1.0 Final. The last thing I am working on is a better/easier way to switch tab images on the tabs.
Thanks to everyone who has installed this and helped me test it out. I've learned a lot creating this and I'm glad people are enjoying it. If you have any other ideas I'd like to hear them.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Great work , installed over the top of v5 beta , works like a charm.
Has anyone got any ideas why I cant do the html img src tag in a hyperlink within the tabs in IE7 ?
my source :
<a href="pub/pdfs/datasheet.pdf" target="_blank"><img src="images/pdf.gif" border="0" alt="Download Datasheets" width=”100” height=“100”>Click Icon to download PDF datasheet</a>
Thanks again for a great contrib
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
crazycucumber
Great work , installed over the top of v5 beta , works like a charm.
Has anyone got any ideas why I cant do the html img src tag in a hyperlink within the tabs in IE7 ?
my source :
<a href="pub/pdfs/datasheet.pdf" target="_blank"><img src="images/pdf.gif" border="0" alt="Download Datasheets" width=”100” height=“100”>Click Icon to download PDF datasheet</a>
Thanks again for a great contrib
IE doesn't like fancy quotes. Look at your width and height parameters. they are using the magic quotes style and IE is ignoring them. I changed them in my test to normal quotes and it works fine.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Is there a way to do this?
For every product, from which the Attributes tab pops up, puts a link at the bottom of the description that says "Click Here to Personalize" then it automatically takes you to the attribute Tab.
If it can be done Global for every product that has attributes. Super.
If I have to do it for each product. Not as good.. (Because I have so many to modify)
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Dont work with Cross-Sell
zen-cart 1.3.8a
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
milobloom
Is there a way to do this?
For every product, from which the Attributes tab pops up, puts a link at the bottom of the description that says "Click Here to Personalize" then it automatically takes you to the attribute Tab.
If it can be done Global for every product that has attributes. Super.
If I have to do it for each product. Not as good.. (Because I have so many to modify)
You mean aside from the tab you also want a link at the bottom of the product description area that sets focus on the attrib tab? If they don't see it up top you think they are gonna see it at the bottom?
Quote:
Originally Posted by
dinix
Dont work with Cross-Sell
zen-cart 1.3.8a
Need a bit more info than that.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
You mean aside from the tab you also want a link at the bottom of the product description area that sets focus on the attrib tab? If they don't see it up top you think they are gonna see it at the bottom?
Yea I know what you mean.... Just trying to see if I can hit them twice. Just to make sure..
Perhaps aA Button, Image or Text with a a link.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Sorry but i have problems with keyboard, now is ok.
Dont work with Cross-Sell
zen-cart 1.3.8a
I install and my cross-sell products just disappear.
I have tpl_product_info_display.php with cross-sell
tanks for the help
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
milobloom
Yea I know what you mean.... Just trying to see if I can hit them twice. Just to make sure..
Perhaps aA Button, Image or Text with a a link.
@ Milo:
A Tab is basically an image link. You can edit the tpl_product_display_info.php file and clone the link:
Code:
<a href="javascript:void(0)" onclick="expandcontent('sc2', this)">Personalize Now!</a>
and then add it right after:
Code:
<?php
//BOF :: Tabbed Products Pro ::
echo '<div id="tpptabBlock" style="display:none;">' . $tabData . '</div>';
//EOF :: Tabbed Products Pro ::
?>
Change to an image or change the html on it to make it bigger. That will put a link on every product.
@ Dinix:
I will try Cross sell with 1.3.8a
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
()---() $15
(o0)
=()=
-------------------------------------------
! D ! @ A ! W !
--------------------------------------------
Mod for my Mickey Mousey Customers
What I was wondering if, as if this text
was a product listing. I am just adding
a few extra lines just to add effect. To
demonstrate what I am looking for.
CLICK HERE to Personalize your order
Add To Cart
! 1 !
Now the Click Here part, If its possible to add to all products when
the Options Tag appears. But doesn't when there are no attributes.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Tanks Qhome I wait you tell samething.
(sorry my ingles)
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
milobloom
()---() $15
(o0)
=()=
-------------------------------------------
! D ! @ A ! W !
--------------------------------------------
Mod for my Mickey Mousey Customers
What I was wondering if, as if this text
was a product listing. I am just adding
a few extra lines just to add effect. To
demonstrate what I am looking for.
CLICK HERE to Personalize your order
Add To Cart
! 1 !
Now the Click Here part, If its possible to add to all products when
the Options Tag appears. But doesn't when there are no attributes.
Too early in the morning to make sense of what you are writing here.. but I think that means my previous recommended method wasn't what you wanted :P
To only show on products that have attributes, You could do this after the tabblock code:
Code:
<?php if ($bAttribsExist) {?>
<a href="javascript:void(0)" onclick="expandcontent('sc2', this)"><font size="8"><b>CLICK HERE!</b></font></a>
<?php } ?>
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Ok. Ill try that...
I have to put that code where??? Or Replace??
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
milobloom
Ok. Ill try that...
I have to put that code where??? Or Replace??
instead of the earlier string i gave you. use this one. same place under where the tabBlock is.
Code:
<?php
//BOF :: Tabbed Products Pro ::
echo '<div id="tpptabBlock" style="display:none;">' . $tabData . '</div>';
//EOF :: Tabbed Products Pro ::
?>
<?php if ($bAttribsExist) {?>
<a href="javascript:void(0)" onclick="expandcontent('sc2', this)"><font size="8"><b>CLICK HERE!</b></font></a>
<?php } ?>