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

Tabbed Products Pro (TPP) Contrib - Official Thread

Started by qhome on 21 Jan 2008, 7:19 AM · Views: 398,462

Results 181 to 200 of 2,224
17 Feb 2008, 7:09 PM
#181
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Tabbed Products Pro (TPP) Contrib - Official Thread

Berserker:

Thx for that. I was worried I did something wrong.

And yes, I want non-image styled top-tab but im not sure what you mean by copy? Do you mean, copy the content of alt_tpp_tabs1 (for example) and paste that inside alt_tpp_side1? or use any stylesheet apart from side 1 and replace the image with colors?

  1. Just copy alt_tpp_tabs1.css to alt_tpp_tabsnoimage.css
  2. then edit tabsnoimage and remove the image calls there and replace with colors.
  3. then edit css/stylesheet_tpp.css and change the import line to point to the new name
17 Feb 2008, 7:41 PM
#182
berserker avatar

berserker

Totally Zenned

Join Date:
May 2006
Posts:
712
Plugin Contributions:
0

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

Can I not copy alt_tpp_side1 instead? Because I want the hover to be a different color.

17 Feb 2008, 7:52 PM
#183
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

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

Berserker:

Can I not copy alt_tpp_side1 instead? Because I want the hover to be a different color.

Well.. tpp side is for side tabs. If you want top-tabs you will need to copy one of the top-tab css files. So you need to copy one of the top-tab sheets and then edit it to use colors

17 Feb 2008, 8:25 PM
#184
berserker avatar

berserker

Totally Zenned

Join Date:
May 2006
Posts:
712
Plugin Contributions:
0

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

qhome:

Well.. tpp side is for side tabs. If you want top-tabs you will need to copy one of the top-tab css files. So you need to copy one of the top-tab sheets and then edit it to use colors

Well, the style you made for the side tabs was pretty good so I thought maybe I could use that. Anyway, I got it the way I want it now so that's all good.

Since im not using images anymore, can I delete all the "background-position:0% -42px;" comment from the stylesheet? I commented them out using /* */ and they didn't make any difference so maybe I could just delete them?

17 Feb 2008, 9:18 PM
#185
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

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

Berserker:

Well, the style you made for the side tabs was pretty good so I thought maybe I could use that. Anyway, I got it the way I want it now so that's all good.

Since im not using images anymore, can I delete all the "background-position:0% -42px;" comment from the stylesheet? I commented them out using /* */ and they didn't make any difference so maybe I could just delete them?

Yes you can delete all the background position stuff if not using images. Looks good the way you got the color tabs too :)

For those who don't want the ShowHeaders option, but still see it in Cross Sell and Customers Also Purchased... this was done somewhat by default, as the header already exists in those modules. I added it to the other tabs to make them match. But to make it easier I will make it go both ways. So I've got a new version of the tpp module file to hide those headers for modules that have it inherently.

I'm also looking at re-doing the cross sell exists part. To make it actually look for the file or db entry instead of having a separate manual entry in the admin area and causing an error if it is set when it doesn't exist.

I will release a 1.01 version shortly.

17 Feb 2008, 9:27 PM
#186
berserker avatar

berserker

Totally Zenned

Join Date:
May 2006
Posts:
712
Plugin Contributions:
0

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

qhome:

Yes you can delete all the background position stuff if not using images. Looks good the way you got the color tabs too :)

For those who don't want the ShowHeaders option, but still see it in Cross Sell and Customers Also Purchased... this was done somewhat by default, as the header already exists in those modules. I added it to the other tabs to make them match. But to make it easier I will make it go both ways. So I've got a new version of the tpp module file to hide those headers for modules that have it inherently.

I'm also looking at re-doing the cross sell exists part. To make it actually look for the file or db entry instead of having a separate manual entry in the admin area and causing an error if it is set when it doesn't exist.

I will release a 1.01 version shortly.

I don't remember having the header back in beta 0.4? Anyway, any idea how I could have a space between each tab?

17 Feb 2008, 9:34 PM
#187
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

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

Berserker:

I don't remember having the header back in beta 0.4? Anyway, any idea how I could have a space between each tab?

Header has always been there even back in Tabbed Products "Lite". to put spaces between tabs you can use padding in the "li" area of the css.

17 Feb 2008, 10:38 PM
#188
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

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

NEW VERSION - 1.01

I've uploaded it to the Downloads area.

16-Feb-2008 - v1.01 (Release) - qhome

* Updated a few buggy CSS tab files (tab22.css was using tab21 images, spacing was off on tab1).
* Added ability for Cross Sell tab option to auto-detect Cross Sell contrib existence.
* Updated sql file too remove the "Cross Sell Exists" option since it is automatically found now
* Added support for hiding headers of modules that have their own headers (e.g. customers also purchased, cross sell)
* Files Modified:
      o modules/tabbed_products_pro.php
      o css/tpp/alt_tpp_tabs1.css
      o css/tpp/alt_tpp_tabs21.css
      o css/tpp/alt_tpp_tabs22.css
      o css/tpp/alt_tpp_tabs23.css
      o TabbedProductsPro.sql
      o doc/readme_tabbed.html

(Awaiting file acceptance to the downloads area)

17 Feb 2008, 11:38 PM
#189
berserker avatar

berserker

Totally Zenned

Join Date:
May 2006
Posts:
712
Plugin Contributions:
0

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

I tried adding padding, padding-left or padding-right to the li section but did not create any spaces. I also tried the margin but that resulted to the same thing.

18 Feb 2008, 12:05 AM
#190
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

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

Berserker:

I tried adding padding, padding-left or padding-right to the li section but did not create any spaces. I also tried the margin but that resulted to the same thing.

Hmm ya Im not sure. I can't get it to do that either. Theoretically it should work.

18 Feb 2008, 10:59 AM
#191
berserker avatar

berserker

Totally Zenned

Join Date:
May 2006
Posts:
712
Plugin Contributions:
0

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

I have uploaded the new modules file and that worked for the customers purchased header. Do I have to run the new sql file as well?

18 Feb 2008, 1:48 PM
#192
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

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

Berserker:

I have uploaded the new modules file and that worked for the customers purchased header. Do I have to run the new sql file as well?

It would be best, only to keep you on the same level as the contrib. It just removes an extra admin configuration for the cross sell exists option. Won't hurt either way.

18 Feb 2008, 4:25 PM
#193
zaki avatar

zaki

New Zenner

Join Date:
Jan 2008
Posts:
34
Plugin Contributions:
0

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

Can i install the Pro version on zen cart 1.3.6?

18 Feb 2008, 5:24 PM
#194
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

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

Zaki:

Can i install the Pro version on zen cart 1.3.6?

You should be able to, but you might need to manually modify the 1.3.6 tpl_product_display_info.php template for tabs, as the included version was built off of 1.3.8's version and there might be some changes there.

It is quite simple to do still, only 3 code blocks that need to be pasted. One at the top, one at the bottom, and one in the middle where you want the tabs to be.

But you could try the included version to see if it works, as they may have only made minor changes between versions that might be backwards compatible.

Aside from that file, the rest of my code should work as far back as 1.2 maybe :P

18 Feb 2008, 5:52 PM
#195
zaki avatar

zaki

New Zenner

Join Date:
Jan 2008
Posts:
34
Plugin Contributions:
0

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

qhome,

Thanks for your quick response, I'll try that and see.

Also, I'd like to ask another question. On my site i've products with lots of "options" or accessories. I'd like to show the options in its own exclusive tab. Does the Pro version support this? or if not, is there a way to make it happen?

18 Feb 2008, 6:11 PM
#196
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

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

Zaki:

qhome,

Thanks for your quick response, I'll try that and see.

Also, I'd like to ask another question. On my site i've products with lots of "options" or accessories. I'd like to show the options in its own exclusive tab. Does the Pro version support this? or if not, is there a way to make it happen?

yes it does support this. It's an option in the admin section

18 Feb 2008, 6:16 PM
#197
zaki avatar

zaki

New Zenner

Join Date:
Jan 2008
Posts:
34
Plugin Contributions:
0

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

Thank you, you are the best. :clap:

18 Feb 2008, 7:07 PM
#198
zaki avatar

zaki

New Zenner

Join Date:
Jan 2008
Posts:
34
Plugin Contributions:
0

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

Hi qhome,

Installed the pro version on 1.3.6, and modified the products info display file in 3 places as you specified in your readme file. Installation and everything worked fine, and TPP config appears in Admin, but the products display page is blank. What do you think could be the issue?

18 Feb 2008, 7:56 PM
#199
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

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

Zaki:

Hi qhome,

Installed the pro version on 1.3.6, and modified the products info display file in 3 places as you specified in your readme file. Installation and everything worked fine, and TPP config appears in Admin, but the products display page is blank. What do you think could be the issue?

Its usually due to an error when you were pasting the code snippets. Be sure that you didn't paste it in an open php block without closing it first. For example:

<?php blah blah <?php tabstuff ?>

?>

Paste the contents into a PM for me and I will look at it.

18 Feb 2008, 8:36 PM
#200
zaki avatar

zaki

New Zenner

Join Date:
Jan 2008
Posts:
34
Plugin Contributions:
0

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

qhome, it was my mistake. I had put the modules php in the custom folder, when I put it in the default folder it worked. Thank a lot for your help. :smile: