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 581 to 600 of 2,224
12 Nov 2008, 11:15 PM
#581
pdxdoug avatar

pdxdoug

Zen Follower

Join Date:
Jan 2008
Location:
Portland, Oregon USA
Posts:
356
Plugin Contributions:
0

Tabbed Products Pro (TPP) Contrib - Official Thread

I posted earlier regarding some help in moving the tabbed section to be below the attributes section.

I guess I'm pretty dense in all this still - I'm modifying the tpl_product_info_display.php file, moving either the attribute section higher or the tabbed section lower to no avail.

Sure I can move things but can't seem to get the layout that I'm after -
Product Description/Details
Attributes
Tabbed Area

Any help is appreciated.

Thanks

:frusty:

Doug

13 Nov 2008, 12:29 AM
#582
qhome avatar

qhome

Totally Zenned

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

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

Are you sure you are changing the right version of the file? That is the right file but should work fine if you move it. Be sure you have "Global Attribs on Tabs" disabled in the TPP config

13 Nov 2008, 3:38 PM
#583
pdxdoug avatar

pdxdoug

Zen Follower

Join Date:
Jan 2008
Location:
Portland, Oregon USA
Posts:
356
Plugin Contributions:
0

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

Here are the settings in TTP:

TPP - Global Enable Tabs 1
TPP - Global Main Image On Tab 1
TPP - Global Product Description Tab 0
TPP - Global Attributes on Tab 0
TPP - Global Attributes on Add-to-Cart Tab 0
TPP - Global Details On Tabs 0
TPP - Global Add To Cart Tab 0
TPP - Global Additional Images Tab 1
TPP - Global Customers Also Purchased Tab 1
TPP - Global Cross Sell Tab 1
TPP - Global Reviews Tab 0
TPP - Show Tab Headers 1

I'm moving this block of code:

<!--bof Attributes Module --> <?php if ($pr_attr->fields['total'] > 0) { ?> <?php /** * display the product atributes */ require($template->get_template_dir('/tpl_modules_attributes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_attributes.php'); ?> <?php } ?> <!--eof Attributes Module -->

to a point just above the end of free shipping block which is just above where we insert the TTP block.

At that point the layout changes completely. When I move the TTP block after the original position of the attribute block of code it still doesn't display right.

I'm the first to admit that I really, really new to all this.
Thanks

Doug

15 Nov 2008, 6:50 AM
#584
alexwoolfson avatar

alexwoolfson

Zen Follower

Join Date:
Sep 2008
Posts:
97
Plugin Contributions:
0

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

I love this mod! Installed very easily and the defaults are pretty much exactly what I'm looking for.

I just have a couple questions:

  1. I wanted the current tab to blend in with the title of what it covers. By creating my own gifs, I have gotten close to this, but I cannot, for the life of me, get the text for the current tab to change to white.

I'm sure I'm just being stupid, but what CSS do I need to put into alt_tpp_tabs8.css to turn the current tab's text to white (and perhaps a nice pink on hover)?

  1. Also, I have modified my tpl_document_product_info_display.php file with the three sections of new code, but I am for some reason getting duplicate product descriptions. It's as if the third section of code isn't working (if I'm understanding the purpose of that....)

Here is a link to a product page on my site (be warned it is Not Safe For Work, has cartoon guys kissing in the banner and is intended for a female demographic)

https://store.yaoi911.com/index.php?main_page=document_product_info&cPath=5&products_id=7

Really what I want is all that text that is currently appearing underneath the horizontal line of each tab-- the Product Description and the Free Comics instructions -- to just appear under the Product Description tab with no duplication.

Here is a link to the text of my tpl_document_product_info_display.php file in case that is helpful:

http://alexwoolfson.com/tpl_document_product_info_display.txt

Any help you could offer would be greatly appreciated. I've been banging my head over this for the last four hours... Thanks!

Alex

Zen Cart 1.3.8a - Database Patch Level: 1.3.8 - PHP Version 5.2.6

15 Nov 2008, 7:00 AM
#585
qhome avatar

qhome

Totally Zenned

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

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

alexwoolfson:

I love this mod! Installed very easily and the defaults are pretty much exactly what I'm looking for.

I just have a couple questions:

  1. I wanted the current tab to blend in with the title of what it covers. By creating my own gifs, I have gotten close to this, but I cannot, for the life of me, get the text for the current tab to change to white.

I'm sure I'm just being stupid, but what CSS do I need to put into alt_tpp_tabs8.css to turn the current tab's text to white (and perhaps a nice pink on hover)?

Under:
#slidetabsmenu a span {
Change:
color:#333;
To:
color:#fff;

alexwoolfson:

  1. Also, I have modified my tpl_document_product_info_display.php file with the three sections of new code, but I am for some reason getting duplicate product descriptions. It's as if the third section of code isn't working (if I'm understanding the purpose of that....)

The javascript uses the classes from tpl_display_product_info.php. In the "document" version of that file, it has different css tags (i.e. class="docProduct biggerText") so its not hiding the duplicates

I'll look to see what needs to change for that.

15 Nov 2008, 7:09 AM
#586
alexwoolfson avatar

alexwoolfson

Zen Follower

Join Date:
Sep 2008
Posts:
97
Plugin Contributions:
0

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

Oh, my gosh! You are awesome with your fast and helpful reply! :D

The page definitely is improved by changing all the text to white. Thank you! But... is there a way to just change the CURRENT tab's text to white? I think that would be the most legible.

Zen Cart 1.3.8a - Database Patch Level: 1.3.8 - PHP Version 5.2.6

15 Nov 2008, 1:56 PM
#587
qhome avatar

qhome

Totally Zenned

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

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

alexwoolfson:

Oh, my gosh! You are awesome with your fast and helpful reply! :D

The page definitely is improved by changing all the text to white. Thank you! But... is there a way to just change the CURRENT tab's text to white? I think that would be the most legible.

Hmm? That should only change the tab titles to white. Looking at your site now, that looks like what you asked for.
However, for the hover to be pink you'd also need to change:

Under
#slidetabsmenu a:hover span {

Change:
color:#591333;
To:
color:#F6A4D5;

15 Nov 2008, 7:28 PM
#588
alexwoolfson avatar

alexwoolfson

Zen Follower

Join Date:
Sep 2008
Posts:
97
Plugin Contributions:
0

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

I'm sorry -- I guess I'm not being very clear. Yep, right now ALL tabs are white -- which is OK. But I want just the CURRENT tab's text to be white -- the tab that is active -- the one tab that has the different color behind it. On my site, it is the one tab that has the darker red behind it, not the pink.

In the CSS, this tab seems to be referred to as "a.current" -- that's how I was able to add that darker red gif behind just that one tab using

#slidetabsmenu a.current {
	  background:url("../../images/tpp/tableft100.jpg") no-repeat left top;
	  background-position:0% 0px;
  }
    
#slidetabsmenu a.current span {
	  background:url("../../images/tpp/tabright100.jpg") no-repeat right top;
	  background-position:100% 0px;	  
  }

But I can't figure out how to change the text and the hover for just that one tab and not the others to a different color. I've tried every variation of "a.current span" I can think of and I can't seem to get it to work.

Is there a way to change the text and hover color for just that one, active tab?

Zen Cart 1.3.8a - Database Patch Level: 1.3.8 - PHP Version 5.2.6

15 Nov 2008, 10:13 PM
#590
alexwoolfson avatar

alexwoolfson

Zen Follower

Join Date:
Sep 2008
Posts:
97
Plugin Contributions:
0

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

Thank you -- that works perfectly. (Honestly, I feel a bit foolish because I thought I tried that several times -- I guess it's just one of those things that magically works when you have the expert looking over your shoulder. Who knows what I was screwing up... Well, I very much appreciate your patience. :blush:)

Thank you very much for your excellent support. I very much look forward to the new tpl_display_product_info.php code.

Alex

Zen Cart 1.3.8a - Database Patch Level: 1.3.8 - PHP Version 5.2.6

16 Nov 2008, 7:54 PM
#591
qhome avatar

qhome

Totally Zenned

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

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

alexwoolfson:

Thank you -- that works perfectly. (Honestly, I feel a bit foolish because I thought I tried that several times -- I guess it's just one of those things that magically works when you have the expert looking over your shoulder. Who knows what I was screwing up... Well, I very much appreciate your patience. :blush:)

Thank you very much for your excellent support. I very much look forward to the new tpl_display_product_info.php code.

Alex

Actually I just tried it on my test site with the document code and it worked fine, with only 1 product description. I was wrong about the class thing. TPP actually uses the id, which is the same in all display files so there are no changes needed for TPP.
(outsmarted myself :) )

Try my version of the file and see if it works.
Also what is your setting for the "Global Product Description Tab"?
Are you using any custom tag codes?

16 Nov 2008, 8:35 PM
#592
alexwoolfson avatar

alexwoolfson

Zen Follower

Join Date:
Sep 2008
Posts:
97
Plugin Contributions:
0

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

OK. So I tried your version of the file and I'm still getting the duplicate Product Descriptions.

(I'm leaving your version of the page up for the moment to help you with the troubleshooting. You can see it here:

https://store.yaoi911.com/index.php?main_page=document_product_info&cPath=2&products_id=6

FYI, for people just joining this thread, this link is Not Safe For Work and shows cartoon guys kissing.)

Here are the settings I'm using for TPP:

And there are places in my site where I use custom CSS tag codes, but you mean in this file, right? I don't think so and if your file still has the same problem, then that probably confirms it's not any weird tags I put into tpl_display_product_info.php, right?

Thank you very much for helping me troubleshoot this.

EDIT: ACTUALLY WAIT: I just looked over the page with my Firefox WebTools and for my description I see the tag "biggerText". Not sure where this would be coming from if I'm using your file, but maybe that's causing the problem? I would have wanted "bigger text" for this. Perhaps I added that tag somewhere and that is causing the problem. But if I didn't add it to this file, where would it be? I didn't add it to the Product Description HTML field in Zen Cart Admin for this product... Maybe it's a Zen Cart tag and I didn't add it?

Zen Cart 1.3.8a - Database Patch Level: 1.3.8 - PHP Version 5.2.6

16 Nov 2008, 8:47 PM
#593
alexwoolfson avatar

alexwoolfson

Zen Follower

Join Date:
Sep 2008
Posts:
97
Plugin Contributions:
0

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

Nevermind that last EDIT. It's in your file too. I just couldn't see it in Firefox because it scrolled off the screen.

Ah, well, thought it might be a simple solution... :blush:

Zen Cart 1.3.8a - Database Patch Level: 1.3.8 - PHP Version 5.2.6

20 Nov 2008, 12:30 AM
#594
alexwoolfson avatar

alexwoolfson

Zen Follower

Join Date:
Sep 2008
Posts:
97
Plugin Contributions:
0

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

So, don't ask me what I did, but somehow in editing my tpl_document_product_info_display.php and main_template_vars.php files, now the duplicate product descriptions aren't showing...

So, I guess, problem solved. :cool:

Zen Cart 1.3.8a - Database Patch Level: 1.3.8 - PHP Version 5.2.6

26 Nov 2008, 5:29 PM
#595
zilla avatar

zilla

New Zenner

Join Date:
Feb 2006
Location:
Bexhill, UK
Posts:
45
Plugin Contributions:
0

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

great mod... all installed and working great...
one question though, I've just changed my template width and think that the info would be better in line with the product image now... but can't figure out how to move tpp to this position.
I can get it above the main image, but not level with it?!
if it makes it easier site is here: https://www.ukbikegear.com
cheers
john

27 Nov 2008, 8:49 AM
#597
zilla avatar

zilla

New Zenner

Join Date:
Feb 2006
Location:
Bexhill, UK
Posts:
45
Plugin Contributions:
0

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

hi qhome
that worked a treat, once i realized i had to get the image to be aligned to the top of the cell to stop everything jumping around when a tab was clicked... Thanks! :)
would using another table further down the page be the best way to arrange my Ask a Question button, Attributes etc?

27 Nov 2008, 9:16 AM
#598
zilla avatar

zilla

New Zenner

Join Date:
Feb 2006
Location:
Bexhill, UK
Posts:
45
Plugin Contributions:
0

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

it's official, i'm back in love with tables! all sorted now, thanks for your advice :)

9 Dec 2008, 11:30 PM
#599
emilyg avatar

emilyg

New Zenner

Join Date:
Oct 2008
Location:
London
Posts:
19
Plugin Contributions:
0

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

Hi There,
i install the tabbed products pro v1 05 and everything work fine in the english lenguage. When i change the language into italian doesn't work properly anymore. can anyone help me on this?
eg: http://www.your-italian-weddings.co.uk/shop/avantgarde-p-1.html
Thank
Emily