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 361 to 380 of 2,224
8 Apr 2008, 4:32 PM
#361
zaki avatar

zaki

New Zenner

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

Tabbed Products Pro (TPP) Contrib - Official Thread

Any idea how I can change the "attributes" label to "accessories"?

8 Apr 2008, 5:37 PM
#363
zaki avatar

zaki

New Zenner

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

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

Yes, of course. thanks a ton, qhome.

11 Apr 2008, 2:13 PM
#364
disciple avatar

disciple

Totally Zenned

Join Date:
Aug 2004
Posts:
278
Plugin Contributions:
0

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

We have a lot of reviews on products in our store. When clicking on the review tab it truncates the review.

Please tell me where I can change the value to allow for more characters in the review tab.

Thanks

Rick

11 Apr 2008, 2:45 PM
#365
qhome avatar

qhome

Totally Zenned

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

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

disciple:

We have a lot of reviews on products in our store. When clicking on the review tab it truncates the review.

Please tell me where I can change the value to allow for more characters in the review tab.

Thanks

Rick

This isn't really a TPP thing, its the normal zen-cart setting.

But you can find this in:
includes/modules/pages/reviews/header_php.php
and search for:
left(rd.reviews_text, 100)

Change the 100 to something greater.

11 Apr 2008, 3:44 PM
#366
disciple avatar

disciple

Totally Zenned

Join Date:
Aug 2004
Posts:
278
Plugin Contributions:
0

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

Hi qhome,

Thanks for the direction. I changed the file, and included it in my custom directory and it did not work, I then tried changing the default file and still it did not change.

I know this is not your issue but might you have any ideas as to why this wouldn't work?

Thanks

Rick

11 Apr 2008, 4:29 PM
#368
disciple avatar

disciple

Totally Zenned

Join Date:
Aug 2004
Posts:
278
Plugin Contributions:
0

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

That got it. Thanks

Rick

11 Apr 2008, 6:14 PM
#369
teebo avatar

teebo

Zen Follower

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

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

Interested in adding tabs to things like shipping & return, contact us pages, like this site

http://www.accessoryseek.com/index.php?main_page=shippinginfo

Can we do this with this mod?

11 Apr 2008, 6:20 PM
#370
bigbadboy avatar

bigbadboy

Totally Zenned

Join Date:
Apr 2008
Location:
London
Posts:
557
Plugin Contributions:
0

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

Just wondering if I could use this mod in this way:

I have a product with 15 attributes.
I need to allow the customer to choose from another 100 (but only if they choose a specific option which at this point is not a problem)
Would I, using your mod, be able to:
Tab 1 - regular 15 attributes
Tab 2 - the other 100+ attributes

Cheers in advance.

Oh ... and in IE7 your demo produces scroll bars in the mod area.

11 Apr 2008, 6:23 PM
#371
qhome avatar

qhome

Totally Zenned

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

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

teebo:

Interested in adding tabs to things like shipping & return, contact us pages, like this site

http://www.accessoryseek.com/index.php?main_page=shippinginfo

Can we do this with this mod?

Not with this mod, but it looks like they just added that to the code for that page. Tabs aren't too hard to make when hardcoding them on the page.

11 Apr 2008, 6:30 PM
#372
qhome avatar

qhome

Totally Zenned

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

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

bigbadboy:

Just wondering if I could use this mod in this way:

I have a product with 15 attributes.
I need to allow the customer to choose from another 100 (but only if they choose a specific option which at this point is not a problem)
Would I, using your mod, be able to:
Tab 1 - regular 15 attributes
Tab 2 - the other 100+ attributes

Cheers in advance.

Can't really think of a good way to do what you are looking for. I don't modify any of the actual content, I simple display the existing stuff inside the tabs, which means I only reference the zen-cart attributes template/module to show the attribs. Sounds like what you are lookin for might be handled by the PC Configurator contrib with some minor modifications.

I guess You could also maybe use javascript to manipulate the display to make the attributes appear on different tabs.. but I dont think my jscript skills are good enough to do that.

bigbadboy:

Oh ... and in IE7 your demo produces scroll bars in the mod area.

This is a feature that I talked about above.. All browsers should show scroll bars in the tabs because I'm using a fixed height instead of the dynamic height. see all the fun to be had with TPP :P

16 Apr 2008, 7:23 AM
#373
phantomxc avatar

phantomxc

New Zenner

Join Date:
Apr 2008
Posts:
15
Plugin Contributions:
0

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

I have a question about Tab order. I have looked through the whole thread and haven't been able to find any information regarding changing the tab order.

I have my attributes tab titled Customize yours now and I would like it display as the last tab. I have played with all that I could think of but haven't been able to move them around.

Thanks in advanced.

16 Apr 2008, 10:23 AM
#374
qhome avatar

qhome

Totally Zenned

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

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

phantomxc:

I have a question about Tab order. I have looked through the whole thread and haven't been able to find any information regarding changing the tab order.

I have my attributes tab titled Customize yours now and I would like it display as the last tab. I have played with all that I could think of but haven't been able to move them around.

Thanks in advanced.

Tab order has to be changed in the code, dynamic ordering is not yet supported. If you only want the attribs moved to the end I can PM you with a version that has that

16 Apr 2008, 4:05 PM
#375
phantomxc avatar

phantomxc

New Zenner

Join Date:
Apr 2008
Posts:
15
Plugin Contributions:
0

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

That would be awesome, or if you plan on adding dynamic ordering any time soon, I can just wait for that. No real big rush :)

I am just worried that if I did get a custom page I would forget about it or not know how to change it when I did need to update.

25 Apr 2008, 1:55 PM
#376
stempient avatar

stempient

New Zenner

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

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

qhome:

It's very odd. The default options on your page work fine for me in Firefox. But when I look with IE6 & IE7, they did not.

On my demo site, The default attributes worked fine in all 3

I will do some more research on the IE nuances

Have you fixed this yet?

7 May 2008, 10:41 PM
#377
litepockets avatar

litepockets

Zen Follower

Join Date:
Apr 2008
Location:
Covington, Washington, United States
Posts:
206
Plugin Contributions:
0

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

Hi Q,

First things first, GREAT MOD, I love it. However I hate IE.

I wish I could dismiss the problem I am having by getting rid of IE, but potential customer use IE, so it's not that easy :)

Everything works and looks great in FF but when I click on a product within IE, I get the following error:

"Internet Explorer cannot open the internet site http://www.litepockets.com/chadwickhoseholder-p-378.html (html file changes depending on what products I click on)

Operation Aborted"

To duplicate the error I recommend going to a product on this page:
http://www.litepockets.com/gardendecorhoseholders-c-6_43.html as I haven't tested all products.

I haven't seen this listed in the forum elsewhere, so I assume I did something wrong, or this mod is not compatible with others. Any support is appreciated!!! I should mention, I can fix the problem by using the default tpl_product_info_display.php file, but then I lose the tabs of course.

7 May 2008, 11:34 PM
#378
qhome avatar

qhome

Totally Zenned

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

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

According to IE7, the actual error is :

Webpage Script Errors

User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; iOpus-Web-Automation; .NET CLR 2.0.50727; InfoPath.2)
Timestamp: Wed, 7 May 2008 23:29:57 UTC

0.
Message: HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)
Line: 0
Char: 0
Code: 0
URI: http://www.litepockets.com/chadwickhoseholder-p-378.html

Unfortunately that isn't very helpful, but then looking at your page in Firebug on FF, it shows a problem in this function:

function domReady(init) {
53 /* for Mozilla */
54 if (document.addEventListener) {
55 document.addEventListener("DOMContentLoaded", init, false);
56 return;
57 }
58 /* for Internet Explorer */
59 /*@cc_on @*/
60 /*@if (@_win32)
61 document.write("<script id=__ie_onload defer><\/script>");
62 var script = document.getElementById("__ie_onload");
63 script.onreadystatechange = function() {
64 if (this.readyState == "complete") {
65 init(); // call the onload handler
66 }
67 };
68 return;
69 /*@end @*/
70 /* for Safari */
71 if (/WebKit/i.test(navigator.userAgent)) { // sniff
72 var _timer = setInterval(function() {
73 if (/loaded|complete/.test(document.readyState)) {
74 init(); // call the onload handler
75 }
76 }, 10);
77 return;
78 }
79 /* for other browsers */
80 window.onload = init;
81 return;
82}
83function isLinkExternal(link) {
84 var r = new RegExp('^https?://(?:www.)?'
85 + location.host.replace(/^www./, ''));
86 return !r.test(link);
87}
88domReady(
89 function() {
90 addListener(document, 'click',
91 function(e) {
92 var target = (window.event) ? e.srcElement : e.target;
93 while (target) {
94 if (target.href) break;
95 target = target.parentNode;
96 }
97 if (!target || !isLinkExternal(target.href))
98 return true;
99 var link = target.href;
100 link = '/outgoing/'
101 + link.replace(/:\/\//, '/')
102 .replace('/^mailto:/', 'mailto/');
103 // alert(link); return false; //òåñòèðîâàíèå
104 pageTracker._trackPageview(link);
105 }
106 );
107 //îòñëåæèâàíèå äîïîëíèòåëüíûõ ýëåìåíòîâ
108 //addListener(document.getElementById('element-id'),
109 // 'click', function() { pageTracker._trackPageview('/element-id/'); });
110 }
111);
112</script>

and seeing all those funky characters might also be a cause.

All in all tho, this is not a TPP problem. Nothing related to TPP is anywhere near this error.

9 May 2008, 2:53 PM
#379
litepockets avatar

litepockets

Zen Follower

Join Date:
Apr 2008
Location:
Covington, Washington, United States
Posts:
206
Plugin Contributions:
0

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

? I'm very confused than. If I go back to using the original product info template file, all works well... I use tpp, it breaks...

Not quite sure what's up..

9 May 2008, 3:03 PM
#380
qhome avatar

qhome

Totally Zenned

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

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

What other mods are you running that requires all the text I pasted above? looks like you are doing some crazy SEO URLS there... are there any errors at all when using the SEO without TPP product info page?

After looking at in Firefox, i see the Dom_ready function seems to execute when i change tabs, and the pageTracker._trackPageview(link); thing chokes. I'm not sure what this does or why it has a problem with the tabs.