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"?
Started by qhome on 21 Jan 2008, 7:19 AM · Views: 398,462
New Zenner
Any idea how I can change the "attributes" label to "accessories"?
Totally Zenned
Zaki:
Any idea how I can change the "attributes" label to "accessories"?
includes/languages/english/extra_definitions/tabbed_products_pro.php
Templates: Silverfish | Blue Admin | TruBlu
Contribs: USPS AutoFill | Column Divider Pro | Tabbed Products Pro | Main Image Replacer
DoNaTiOnS WeLcOmE!
New Zenner
Yes, of course. thanks a ton, qhome.
Totally Zenned
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
Totally Zenned
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.
Templates: Silverfish | Blue Admin | TruBlu
Contribs: USPS AutoFill | Column Divider Pro | Tabbed Products Pro | Main Image Replacer
DoNaTiOnS WeLcOmE!
Totally Zenned
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
Totally Zenned
Whoops.. Sorry .. wrong file.
Try this:
includes/modules/pages/**product_**reviews/header_php.php
and search for:
left(rd.reviews_text, 100)
That worked for me.
Templates: Silverfish | Blue Admin | TruBlu
Contribs: USPS AutoFill | Column Divider Pro | Tabbed Products Pro | Main Image Replacer
DoNaTiOnS WeLcOmE!
Totally Zenned
Zen Follower
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?
Totally Zenned
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.
Totally Zenned
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.
Templates: Silverfish | Blue Admin | TruBlu
Contribs: USPS AutoFill | Column Divider Pro | Tabbed Products Pro | Main Image Replacer
DoNaTiOnS WeLcOmE!
Totally Zenned
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+ attributesCheers 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
Templates: Silverfish | Blue Admin | TruBlu
Contribs: USPS AutoFill | Column Divider Pro | Tabbed Products Pro | Main Image Replacer
DoNaTiOnS WeLcOmE!
New Zenner
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.
Totally Zenned
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
Templates: Silverfish | Blue Admin | TruBlu
Contribs: USPS AutoFill | Column Divider Pro | Tabbed Products Pro | Main Image Replacer
DoNaTiOnS WeLcOmE!
New Zenner
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.
New Zenner
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?
Zen Follower
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.
Contributions: Origin Based Drop-Shipping Mod, Download v1.0.1
Totally Zenned
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.
Templates: Silverfish | Blue Admin | TruBlu
Contribs: USPS AutoFill | Column Divider Pro | Tabbed Products Pro | Main Image Replacer
DoNaTiOnS WeLcOmE!
Zen Follower
? 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..
Contributions: Origin Based Drop-Shipping Mod, Download v1.0.1
Totally Zenned
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.
Templates: Silverfish | Blue Admin | TruBlu
Contribs: USPS AutoFill | Column Divider Pro | Tabbed Products Pro | Main Image Replacer
DoNaTiOnS WeLcOmE!
Tell staff why this post should be reviewed.