Totally Zenned
- Join Date:
- Feb 2004
- Posts:
- 1,702
- Plugin Contributions:
- 5
Tabbed Products Pro (TPP) Contrib - Official Thread
None of your tests make any sense because TPP doesn't come with a html_header.php file
Views: 397,311
Totally Zenned
None of your tests make any sense because TPP doesn't come with a html_header.php file
New Zenner
I was having the same problem. I use your code to edit the html_header.php and the problems went away. I hope this doesn't bring up any new problems. By the way I didn't have any mod install on my test site where i install TPP and I was having this problem. Thanks for the codes. By the way this is a great mod. Thank you very much for taking the time to develope this.
bear1728:
hi, just now i did another test, i still use the html_header.php from tpp, but i did some changes,then it seems everything goes well,
but i'm not sure if there's anything wrong i haven't found or any hidden trouble? or is there a better way? :unsure:i changed these codes:
$css_files_to_load[$value] = -300;
if (file_exists($perpagefile)) $css_files_to_load[trim($value, '/').'.css'] = -200;
$jscript_files_to_load[$value] = -400;
$jscript_files_to_load[$value] = -300;
$jscript_files_to_load[$value] = -200;
$jscript_files_to_load[$value] = -100;
>
> to the following codes:
> ```php
echo '<link rel="stylesheet" type="text/css" href="' . $template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css') . '/' . $value . '" />'."\n";
if (file_exists($perpagefile)) echo '<link rel="stylesheet" type="text/css" href="' . $perpagefile .'" />'."\n";
echo '<script type="text/javascript" src="' . $template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/' . $value . '"></script>'."\n";
echo '<script type="text/javascript" src="' . $page_directory . '/' . $value . '"></script>' . "\n";
require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/' . $value); echo "\n";
require($page_directory . '/' . $value); echo "\n";
New Zenner
I downladed the mod from your signature link and it came with a html_header.php file.
qhome:
None of your tests make any sense because TPP doesn't come with a html_header.php file
Totally Zenned
Hi There,
I'm running 1.3.8a zen cart. With security patch applied.
Ajax image swapper 3.4.1
Image Handler 2
zen light box
When I tried installing TPP it killed image handler completely.
On the LIVE account. When clicking to view a product the page loads blank other than my header menu.
All else loads blank.
I created a test server using WAMP locally. I am using a slightly earlier version of php. But all is working.
I created a duplicate of the website. I installed TPP and this time the TPP worked. It did however kill AJAX image handler. All attributes offered in AJAX no longer function. it is missing the image handler image (reverts to standard) Zenlight box feature no longer works and hover feature over images that enlarge image also was dead.
So as far as i can tell AJAX image swapper is not displaying or loading at all if TPP is installed.
I have removed TPP from LIVE site as this is open to public.
On the WAMP ############## of the live site I have I tried the changes suggested:
i changed these codes:
PHP Code:
$css_files_to_load[$value] = -300;
if (file_exists($perpagefile)) $css_files_to_load[trim($value, '/').'.css'] = -200;
$jscript_files_to_load[$value] = -400;
$jscript_files_to_load[$value] = -300;
$jscript_files_to_load[$value] = -200;
$jscript_files_to_load[$value] = -100;
to the following codes:
PHP Code:
echo '<link rel="stylesheet" type="text/css" href="' . $template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css') . '/' . $value . '" />'."\n";
if (file_exists($perpagefile)) echo '<link rel="stylesheet" type="text/css" href="' . $perpagefile .'" />'."\n";
echo '<script type="text/javascript" src="' . $template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/' . $value . '"></script>'."\n";
echo '<script type="text/javascript" src="' . $page_directory . '/' . $value . '"></script>' . "\n";
require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/' . $value); echo "\n";
require($page_directory . '/' . $value); echo "\n";
This didn't help me at all. Still exactly the same.
I can vouch that TPP does have have html_header file in mod: includes/template/mytemplatename/common/html_header.php
If there is any info I can provide that may help someone work out a solution please let me know what you would like.
Totally Zenned
phoeuth:
I downladed the mod from your signature link and it came with a html_header.php file.
Ah.. so it looks like its a new author who has started changing it and reuploading it. I have no control of that.
"MY" latest version did not come with this file and I cannot support the version from the new author "yellow1912"
If you want my support use the latest version with my name as the Author.
Totally Zenned
qhome:
Ah.. so it looks like its a new author who has started changing it and reuploading it. I have no control of that.
"MY" latest version did not come with this file and I cannot support the version from the new author "yellow1912"
If you want my support use the latest version with my name as the Author.
Which one is your most recent?
Version: v1.05 ?
Totally Zenned
Hello Qhome,
I installed:
Author: QHome
Version: v1.05.
This works perfectly.
However, it completely killed my Ajax image swapper as the newer version did.
:(
I need both working...
Where/How would I start trouble shooting this?
I'm not a programmer... There are no errors to report.
My guessing would be:
I would assume that TPP is overriding the standard layout of product information page somewhere.
I would guess it does this before AJAX image swapper script is run or the script doesn't run at all for AJAX as it is byassed.
Unfortunately, my programming knowledge is very limited and where to check or edit is out of my depth.
Any advice or steps would be appreciated.
Totally Zenned
Post the url to the page having the issue here and I can help you with that.
I posted the new version with CJ Loader included, you can turn off the minify option via your admin->configuration->css/js loader to see if that resolve any conflict.
Many current modules of zencart loads css files and js files in very inefficient way which slows down the loading speed of the site and badly affect users' experience. For example, the Ajax Image Swapper module loads js and css file on EVERY PAGE even if not necessary, this is a TOTAL WASTE of resources. CJ Loader is designed to solve that problem. The reason I posted my own version of TTP is because TPP is using import in its css file which may not work out very well when minified. There is a much more elegant way to do it with CJ Loader.
Totally Zenned
Hi Yellow,
Thanks for responding and explaining everything,
I have now installed your latest version of TPP and the CJ loader to the LIVE site.
With the CJ loader going it removes my templates. I assume I will need to check on my folder names and ensure named after my template correctly. I should be able to resolve that myself.
IN regards to an example of AJAX image swapper and all it features no longer functioning:
http://www.yodgee.com.au/index.php?main_page=product_info&cPath=106_107_110&products_id=308
Everything works fine on the website except if you view the product information page (besides the IH hover feature).
As the site is live I will leave as is overnight before I revert.
Thanks for any input.
Totally Zenned
Hi Yellow1912,
I PM'd you details.
Thanks very much,
Muz
Totally Zenned
Hello ALL,
Just like to publicly thank Yellow1912 for going out the way above and beyond with my issues.
I'm by no means associated with rubikintegration.com but after having such a positive experience with yellow1912 I highly recommend their services.
In regards to my issue. It seems as though I have overwritten an AIS file with the TPP install. (Though lots of hair was lost to discover this)
The CJ loader has dramatically speed up website as well. Couldn't be happier.
May good Karma come your way Yellow1912,
Thanks Muz
New Zenner
I was wondering how you solve your problem. Now that i install image handler2 on my test site, the hover effect is not working and am getting an error on the bottom of my page.
Muzz:
Hello ALL,
Just like to publicly thank Yellow1912 for going out the way above and beyond with my issues.
I'm by no means associated with rubikintegration.com but after having such a positive experience with yellow1912 I highly recommend their services.
In regards to my issue. It seems as though I have overwritten an AIS file with the TPP install. (Though lots of hair was lost to discover this)
The CJ loader has dramatically speed up website as well. Couldn't be happier.
May good Karma come your way Yellow1912,
Thanks Muz
New Zenner
I had the same image java display problem (zen lighbox and ajax image swapper disappearing) with the 1.06 versiob from yellow2810. I just uninstalled it completely and re-installed the 1.05 version from qhome and everything was fine!
So be careful with the new version (1.06) of the mod.:cry:
New Zenner
I try removing 1.06 completely and installing 1.05 but I can't remove the SQL file that is provided with the 1.06. How do I go about removing the SQL files from my site?
perfectino:
I had the same image java display problem (zen lighbox and ajax image swapper disappearing) with the 1.06 versiob from yellow2810. I just uninstalled it completely and re-installed the 1.05 version from qhome and everything was fine!
So be careful with the new version (1.06) of the mod.:cry:
Posted via Mobile Device
New Zenner
you can keep the 1.06 sql. It will work with the 1.05 version.
New Zenner
Ok I been trying to get TPP to work with image handler2 for the last three days and I still can't figure it out. I try installing 1.05, then I install 1.06 and am still getting the same error for both on IE. The hoover effect won't work on IH2 when i install the TPP mod, and I get an error on the bottom of IE. Please help me Zen Master.
New Zenner
Hi
I just installed TPP and love it!
but I have a problem with additional images also product image when click the images, notting happens; javascript popup window image not working.
I use 1.3.8a
Please help me.
Thanks
New Zenner
Well I did it like bear1728 , changing the html_header.php codes and additional images, product image popup window works correctly, but show error on the bottom of IE when click the images :blink: getting any problems ?
Totally Zenned
phoeuth:
Ok I been trying to get TPP to work with image handler2 for the last three days and I still can't figure it out. I try installing 1.05, then I install 1.06 and am still getting the same error for both on IE. The hoover effect won't work on IH2 when i install the TPP mod, and I get an error on the bottom of IE. Please help me Zen Master.
Hi phoeuth,
I sorry but I don't know exactly what Yellow1912 did to get things working. As far as I know I overwrote a AIS file with TPP install. When I needed to collaborate the 2.
The image hover effect isn't working for me any longer either. Presently, I'm happy to live without that feature.
It 'may' something to do with javascript. A while ago I tried installing SWF object and that killed the hover feature. SWF object used a javascipt file. If I removed the javascript then the hover feature would work. <-- I could be wrong I'm not a programmer.
Totally Zenned
Muzz:
Hi phoeuth,
I sorry but I don't know exactly what Yellow1912 did to get things working. As far as I know I overwrote a AIS file with TPP install. When I needed to collaborate the 2.
The image hover effect isn't working for me any longer either. Presently, I'm happy to live without that feature.
It 'may' something to do with javascript. A while ago I tried installing SWF object and that killed the hover feature. SWF object used a javascipt file. If I removed the javascript then the hover feature would work. <-- I could be wrong I'm not a programmer.
Your image hover affect doesnt work for you perhaps because you didnt copy the IH2 js files into your current template js folder.
Fields marked required must be completed.
Tell staff why this post should be reviewed.