Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
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
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.
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
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
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
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?
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
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.
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
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?
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
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.
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
NEW VERSION - 1.01
I've uploaded it to the Downloads area.
Quote:
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)
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.
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
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.