Search
Other Tabs & Accordions questions
Forum

Question regarding the use one option of JCH?

Amar Guillen's Avatar Amar Guillen
Hi,

I am currently using JCH to optimize the speed of my website.

I do not know if you are familiar with this extension. But it does not matter at all. I just have a question about js or scripts.

I would like to use the option Reduced unused Javascript in JCH. When activated I have very good results with Pagespeed ( pagespeed.web.dev/ ). In fact it is one of the recommendation.
When the option activated, Tabs & Accordions does not anymore.

Here is a test page to check the problem: gpfa99.guillenphoto.com/en/all-fine-art-...nd-cow-1569-274.html

here is the production page where everything works: www.guillenphoto.com/en/all-fine-art-pri...nd-cow-1569-274.html

Jch allows me to exclude some Critical js Files, critical scripts and critical inline modules to avoid problems with some extensions when using the option.

Here is a link to download a screen copy of the JCH settings: kdrive.guillenphoto.com/app/share/118755...49-a128-29b1204075dd

Please would you let me know what Tabs & Accordions needs to runs correctly with the option enabled?

This is the only extension I have a problem with.

It would be great if you can help me to fix the issue.

I also can give all the credentials to my test website for you to check.

Let me know if you can help me.

Sincerely,
A. Guilllen
Peter van Westen's Avatar Peter van Westen ADMIN
Weird things going on on your site.
Scripts seem to get loaded twice. Not just the tabsaccordions/js/script.min.js, but also com_finder/js/finder.min.js and system/js/messages.min.js.

I guess that is the cause of the issues you are seeing.
This is a JCHOptimize issue, or otherwise a template issue.
Please post a rating at the Joomla! Extensions Directory
Amar Guillen's Avatar Amar Guillen
Hi Peter,

thank you very much for your reply.

I am going to contact Samuel, the developer of JCH. I hope he will find a way to solve the issue.

I will let you know when I have more details.

Sincerely,
A. Guillen
Amar Guillen's Avatar Amar Guillen
Hi Peter,

Samuel from JCH found a way to solve my issue.

He wrote me that the scripts are not loaded twice. There is just a preload.

He gave me the name of the scripts to exclude from JCH to make my page working.

It was not a bug. I just needed the name of the files to exclude.

Sincerely,
A. Guillen
James Hills's Avatar James Hills
I believe I have the same / similar issue as you ... eg a script not loading properly when selecting defer.

Here's the page in question - the error for me is manifesting as the tabs loading fully expanded. Can you share the scripts to exclude so I can try that? i tried hunting and guessing but that didn't work so well 🙂

BTW I really like how you implemented the tabs on your product pages. Very nice!

Thanks
Amar Guillen's Avatar Amar Guillen
Hi James,

Here is the set up that Samuel from JCH created for me. I got some problems with one other extension too.
But I am sure you will find what to set up in your case.
You can see three screen copies on my cloud:






I hope it will help you
James Hills's Avatar James Hills
woooooohoooo!

Mucho Gracias!

It works 🙂
Amar Guillen's Avatar Amar Guillen
Hi James,

I am glad it works for you.

Samuel did an amazing job. I recommend to save the set up. You never know. It is tricky.
I did on my website.

Sincerely,
A. Guillen
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription