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 321 to 340 of 2,224
17 Mar 2008, 9:22 PM
#321
tstamplis avatar

tstamplis

New Zenner

Join Date:
Oct 2006
Posts:
62
Plugin Contributions:
0

Tabbed Products Pro (TPP) Contrib - Official Thread

Qhome,

I'm sorry if this has been asked, I didn't find it. Is it possible to put the main product image on a tab WITHOUT the title and price?

18 Mar 2008, 3:25 PM
#322
qhome avatar

qhome

Totally Zenned

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

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

@audrah. Did my reply above about adding it to the "fmtdot" section work for you?

zafer:

Hello
How to add "Product notifications" logo to review tab?
thank you

Zafer
[email protected]

See here

tstamplis:

Qhome,

I'm sorry if this has been asked, I didn't find it. Is it possible to put the main product image on a tab WITHOUT the title and price?

So you want the title and price outside of the tabs, but the image on the tab?

Edit the includes/modules/tabbed_products_pro.php file
and find (around line 354):

$fmtMainIm .= '<h1 id="productName" class="productGeneral">' . $products_name . '</h1>'; // Product Name
$fmtMainIm .= '<h2 id="productPrices" class="productGeneral">';

change to:

//$fmtMainIm .= '<h1 id="productName" class="productGeneral">' . $products_name . '</h1>'; // Product Name
//$fmtMainIm .= '<h2 id="productPrices" class="productGeneral">';
19 Mar 2008, 12:51 PM
#323
lindasdd avatar

lindasdd

Zen Follower

Join Date:
Jun 2007
Posts:
474
Plugin Contributions:
0

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

This mod looks great. I really like it.

I'm wondering if you have a site anywhere that has all the different CSS styles loaded so that I can check out the ones you have already created without having to do a ton of FTP'ing.

Thanks,
lindasdd

19 Mar 2008, 1:40 PM
#324
qhome avatar

qhome

Totally Zenned

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

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

lindasdd:

This mod looks great. I really like it.

I'm wondering if you have a site anywhere that has all the different CSS styles loaded so that I can check out the ones you have already created without having to do a ton of FTP'ing.

Thanks,
lindasdd

DEMO

Tho the tabswitcher doesn't seem to work right with IE yet. (tabs 3 - 9 are the same in IE). So use FF or Opera. But the tabs themselves work fine in all browsers

20 Mar 2008, 3:56 AM
#325
zafer avatar

zafer

New Zenner

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

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

qhome:

Ahh now i know what you are talking about. Its basically the same premise, copy the structure from the sidebox template file and paste it under the tell a friend section. Only difference is that you need to change the content = part to echo.

Try this:

<?php echo '<div style="width: 200px; float: left;">'; echo '<a href="' . zen_href_link($_GET['main_page'], zen_get_all_get_params(array('action')) . 'action=notify', $request_type) . '">' . zen_image(DIR_WS_TEMPLATE_IMAGES . OTHER_IMAGE_BOX_NOTIFY_YES, OTHER_BOX_NOTIFY_YES_ALT) . '<br />' . sprintf(BOX_NOTIFICATIONS_NOTIFY, zen_get_products_name($_GET['products_id'])) .'</a>'; echo '</div>'; ?>
> 
> You might want to play with the style for floating on different sides and stuff.

-----------------------------------------

Thank you for the help

Can you please indicate the file name to be edited and where located.

Zafer
20 Mar 2008, 11:08 AM
#326
qhome avatar

qhome

Totally Zenned

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

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

zafer:


Thank you for the help

Can you please indicate the file name to be edited and where located.

Zafer

You can just paste the code above into the /includes/templates/YOURTEMPLATE/templates/tpl_product_reviews_default.php

right before the last </div> tag

23 Mar 2008, 10:34 AM
#327
toddo avatar

toddo

New Zenner

Join Date:
Mar 2008
Posts:
18
Plugin Contributions:
0

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

Hey Qhome, after reading every post in this thread I've gotta say great mod and thanks for all your work and dedication!

(shameless plug, "Ladies and Gentlemen, don't forget to tip your developers!)

Qhome, I would love to use this mod on my site, its sleek, lightweight and compact but it doesn't work with the custom template I've created. I think it's a conflict with with the CSS tab menu I'm using in the header. It does look great straight out of the box with the gloss_black template however.

You can play in my sandbox here if you want. Any ideas how I can get both tabs to peacefully coexist?
:cry:

23 Mar 2008, 1:20 PM
#328
qhome avatar

qhome

Totally Zenned

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

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

toddo:

Hey Qhome, after reading every post in this thread I've gotta say great mod and thanks for all your work and dedication!

(shameless plug, "Ladies and Gentlemen, don't forget to tip your developers!)

Qhome, I would love to use this mod on my site, its sleek, lightweight and compact but it doesn't work with the custom template I've created. I think it's a conflict with with the CSS tab menu I'm using in the header. It does look great straight out of the box with the gloss_black template however.

You can play in my sandbox here if you want. Any ideas how I can get both tabs to peacefully coexist?
:cry:

Looking at your code and css, I don't foresee any conflicts with your existing tabs css... can you explain what doesn't work ?

23 Mar 2008, 7:03 PM
#329
cache529 avatar

cache529

New Zenner

Join Date:
Mar 2008
Posts:
14
Plugin Contributions:
0

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

Firstly, I like TPP a lot...just what I was looking for. Thanks qhome!

Now for my issue...(I've tried searching and reading for the past hour and can't find anything) so here goes...I'm new to zencart, css, php, etc and I I'm trying to add different images in different tabs.

For example, if I have image_01.jpg & image_02.jpg. How can I put image_01.jpg in Tab1 and image_02.jpg in Tab 2? As of right now, I can only make them show up together in the "Additional Images" tab or together as a sub tab.

Thank you in advance.

24 Mar 2008, 5:40 AM
#330
toddo avatar

toddo

New Zenner

Join Date:
Mar 2008
Posts:
18
Plugin Contributions:
0

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

Hi qhome, when I uploaded the files using the current template in the sandbox (renaming your_template) I thought something had gone wrong as no tabs appeared.

I checked my code against the sample included in the mod, checked and rechecked the config settings but couldnt get anything to display. I then uploaded to the gloss_black template and there were those cool tabs! Being the geek I am I reupped all the files to my other template but still no tabs! I'm baffled! :frusty:

I'm running 1.38a with Sales Reports2.2rc1, Contact Us add subject, Ty Package tracker, Superorders 2.0,Credit Card sidebox, Easy Populate v1.2.5.4, Shopping Cart with checkout sidebox and Yahootree categories menu.

If you look at the source code for the page I see this in there <!--%Product Description%--> <!--#AddToCart#--> <!--#Reviews#--> <!--@EndTabs@-->

I'm going to go over the source code for each page with WinMerge and see what I can find.

24 Mar 2008, 6:23 AM
#331
toddo avatar

toddo

New Zenner

Join Date:
Mar 2008
Posts:
18
Plugin Contributions:
0

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

:oops: AHA! I found it qhome!

The sign should say Duh! not Oops! It seems that the tpl_product_info_display.php (which I previously modded) in my template/my_template/templates folder was not over written with your file. That would explain it.

Now all I have to do is move the add to cart button up to the top and change the tabs to suit my site and I should be good to go!

Thanks for your help.

24 Mar 2008, 1:05 PM
#332
qhome avatar

qhome

Totally Zenned

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

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

cache529:

I'm trying to add different images in different tabs.

For example, if I have image_01.jpg & image_02.jpg. How can I put image_01.jpg in Tab1 and image_02.jpg in Tab 2? As of right now, I can only make them show up together in the "Additional Images" tab or together as a sub tab.

What do the images represent? Are they going to be the same image on all products or will they be different for each? What tab are you trying to get these on?

toddo:

:oops: AHA! I found it qhome!
It seems that the tpl_product_info_display.php (which I previously modded) in my template/my_template/templates folder was not over written with your file. That would explain it.

Glad you figured it out. If you have a lot of changes to your custom tpl_product_display_info file, you could also just add the TPP code to your custom file (see readme). There are only 3 snippets of code to add to it for tabs to work there too... but either way. Enjoy!

24 Mar 2008, 5:59 PM
#333
cache529 avatar

cache529

New Zenner

Join Date:
Mar 2008
Posts:
14
Plugin Contributions:
0

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

qhome:

What do the images represent? Are they going to be the same image on all products or will they be different for each? What tab are you trying to get these on?

  1. The images are additional images of the product for sell.
  2. They are going to be different for each product in the store.
  3. I'm trying to get the images to appear on different "custom" tabs. I'm using the following: <!--%tab_name%-->.

I hope there's an easy way...Thanks!

24 Mar 2008, 6:38 PM
#334
qhome avatar

qhome

Totally Zenned

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

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

cache529:

  1. The images are additional images of the product for sell.
  2. They are going to be different for each product in the store.
  3. I'm trying to get the images to appear on different "custom" tabs. I'm using the following: <!--%tab_name%-->.

I hope there's an easy way...Thanks!

To put them on custom tabs should be easy from the product description area in the admin section.

This is some text that will go on the first tab which if GlobalProductDescription is set

<!--%CustomTab1%-->
This is some test for the next tab, which is a custom tab. I also have this image:
<img src="http://www.image.com/myimage1.jpg"/>

<!--%CustomTab2%-->
This is some test for the next tab, which is a custom tab. I also have this image:
<img src="http://www.image.com/myimage2.jpg"/>
24 Mar 2008, 6:49 PM
#335
cache529 avatar

cache529

New Zenner

Join Date:
Mar 2008
Posts:
14
Plugin Contributions:
0

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

qhome,

that worked like a charm...thanks for helping a newbie!:smile:

25 Mar 2008, 4:14 AM
#336
yesnomaybe avatar

yesnomaybe

New Zenner

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

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

Hi QHome,
Ok, I installed the last version available on the download page on ZC 1.3.8 and everything is working great except I only have links beside the main image instead of tabs. These links are working well but it looks like something is not working or do not load. I looked at all files, reinstalled 3 times, looked at the CSS files but didn't find the problem. I read the 34 pages and now I think my head will explose. In these pages, I saw the problem kbalona had and it looks similar except I do not use cross sell product. Any idea??

I don't have a lot of products entered and ZC in not completely done but you can follow this link to see what I'm talking about: http://www.rack-import.com/shop/index.php?main_page=product_info&cPath=3_4&products_id=2

By the way, I sent you an email about a special request. Please take a look at it when you'll have the time and let me know what you think.

Alex

25 Mar 2008, 5:24 AM
#337
yesnomaybe avatar

yesnomaybe

New Zenner

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

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

Things are sometime strange... You work on something for a day, trying to make it work, and it's when you get tired and ask for help that you find the solution. So, it's working now. Thanks for this amazing and very complete mods!!

Regards
Alex

25 Mar 2008, 4:18 PM
#339
stempient avatar

stempient

New Zenner

Join Date:
Jun 2007
Posts:
7
Plugin Contributions:
0

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

I'm having the same problem and on my site it really looks stupid without those selected. Has anyone fixed this issue yet, the default attribute not being selected?

25 Mar 2008, 7:09 PM
#340
qhome avatar

qhome

Totally Zenned

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

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

UPDATE

  • Fixed bug where default attribute radio buttons weren't checked on tabs.
  • Files Modified:
    o jscript/jscript_tpp.js
    o doc/readme_tabbed.html

Only 1 file change from 1.02: /jscript/jscript_tpp.js

Available in the Download section (when authorized)