SSL Certificate DV (Domain Validated)...

Support desk for Multipurpose Quark Theme
GK User
Tue Feb 14, 2017 9:29 am
Hi. After enabling the security certificate: SSL Certificate DV (Domain Validated) in the server hosting. Specifically on this page: https://www.xxxxxgratis.it/contattaci/p ... cator.html

If present of the fundamental problems:

1) The button with the icon of the magnifying glass to search the products present in the shop does not open, which previously worked.

2) The button with the shopping cart icon opens, but without the "x" symbol on the right, which was used to close the window of the shopping cart.

* These two problems do not appear in other parts of the site, only in this page and only after having enabled the certificate of security in the server.

Any possible solution? Thanks, regards. René :?: :idea: :shock:
User avatar
Platinum Boarder

Joshua M
Tue Feb 14, 2017 11:29 am
Hi,

I can't see your website now - is not available.
User avatar
Moderator

GK User
Tue Feb 14, 2017 12:30 pm
Hi, thank you for you answer. All access data has "Teitbite", which has always followed me in all problems with Quark. Thanks greetings. René.
User avatar
Platinum Boarder

teitbite
Wed Feb 15, 2017 9:39 am
Hi

It's all connected. One of javascript libraries is loaded without "https", so it basically is not loading at all.

Code: Select all
http://code.jquery.com/jquery-migrate-1.4.1.min.js


By default joomla loads this file from /media folder, so this one must be loaded by Your Locator component. Please disable it there so the joomla core one will take over.

If devs of this component haven't added such function than try using Easy jQuery to force loading of the jquery-migrate-1.4.1.min.js from Your joomla installation.
User avatar
Moderator

GK User
Wed Mar 08, 2017 11:33 pm
Hi, thank you for you answer. I confirm that it was "Easy jQuery plugin" that was loading http://code.jquery.com/jquery-migrate-1.4.1.min.js
* Disabled "Easy jQuery plugin" for the store-locator.html, but the points mentioned above still do not work. I explained the problem to the manufacturer of the component "JSP Location", but they tell me that its component works with all the templates, which in this case is a problem of the Gavick template. Any ideas? Thanks, regards. René. :shock: :idea: :?:
User avatar
Platinum Boarder

teitbite
Sun Mar 12, 2017 7:08 pm
Hi

Both this mentioned features are not coming with template. Do You remember asking me to add those features ? Code of that is in /layout/blocks/head.php:

Code: Select all
<script type="text/javascript">(function($) {$(document).ready(function() {
setTimeout(function() {
    $('#system-message-container').fadeOut('slow');
}, 15000);

$('.top-search i').click(function(){
   $('.top-search').toggleClass('active');
});

$('#gkPopupCart').prepend('<i style="position: absolute; top:5px; right: 0; cursor: pointer;" class="fa fa-times" aria-hidden="true"></i>');
$('#gkPopupCart .fa-times').click(function(){
   $('#gkPopupCart').attr('style','');
});

$('#gk-cart-btn').click(function(){
   $('.top-search').removeClass('active');
});
});})(jQuery)</script>


it's a really standard jQuery script but I can see jQuery is not loaded on this page at all, so there is no chance it can be executed. You need to simply enable jQuery for this page.
User avatar
Moderator

GK User
Sun Mar 12, 2017 8:06 pm
Hi, thank you for you answer. Now I have enabled Jquery for that specific page, since I have installed the "Jquery easy profiles", but still those functions do not work on that page. I have no idea how to solve and look like the manufacturer of the component either. The features that you add are perfect and work well throughout the site, except on this page. Thanks greetings. René.
User avatar
Platinum Boarder

GK User
Sun Mar 12, 2017 8:18 pm
Hello, I sent the suggestions of Olivier the manufacturer of "Easy jQuery Profiles", thanks, regards. René.

From: Olivier Buisard [mailto: [email protected] ]

Inviato: lunedì 14 novembre 2016 22:52

A: [email protected]

Oggetto: Re: R: Account Details for René Miguel at Simplify Your Web

René,

I did check your page again.

I have noticed the file was loading an additional jQuery library. Once removed with jQuery Easy, it showed me there is a file with bad javascript code.

The file /components/com_jsplocation/scripts/jQuery.equalHeights.js is the source of your problems. It does not take into account potential additionnal libraries like MooTools. It uses the $ symbol instead of jQuery. That script is very old (2008). You should contact support for jsplocation.

They need to update the scripts to allow for the use of additional libraries alongside jQuery.

Probably a good way to fix this would be to encapsulate the code like this:

(Function ($) {

$ .fn.functionhere = function () {

};

}) (JQuery);

Anyway, it's up to them to fix it!

Sincerely,

Olivier.
User avatar
Platinum Boarder

GK User
Mon Mar 13, 2017 5:09 pm
Hi. Finally we found the cause of problems with JavaScript:

I send the RSJoomla response, because the form of RSForm Pro does not work with reCaptcha, and thanks to this problem they found the cause also to the rest of the problems with JavaScrip.

Hello,

Your template is compressing and caching Javascript files and in doing so creates a Javascript syntax error - that's why the page appears as 'loading' - the script that shows the content is no longer triggered due to this error.

I've went to Extensions > Templates > gk_quark - Default and set "JavaScript compression" to "Disabled" from "Advanced Settings". The error no longer shows up and the page is loaded correctly. Please contact your template developer for assistance if you'd wish to use that option - because at this point it breaks the Javascript from RSForm! Pro and it shouldn't.

Regards!

*Now also on this page: https://www.xxxxxgratis.it/contattaci/p ... cator.html the scripts that did not load previously to close the shopping cart and to open the search box.

**I have only one problem, and that is that once they disabled: "JavaScript compression", always on this page I appear below the writing: "LOADING" and when I click on some menus do not respond and load incomplete pages. Any possible solution? Thanks, regards. René
User avatar
Platinum Boarder

GK User
Wed Mar 15, 2017 2:29 pm
Hi. Finally it seems that the problem was solved:

1) I've gone to Extensions> Templates> gk_quark - Default and set "JavaScript compression" to "Disabled" from "Advanced Settings".

2) The "Easy Jquery Profiles" Module enabled for the page: store-locator with the problem, and the following selected variants:
* Basic Options: Abilita Jquery.
** Procololo: HTTPS.
*** Advanced Options: Delete remaining scripts: /components/com_jsplocation/scripts/jQuery.js (patch).

I really do not know how to solve it, I came up with the idea of trying out these combinations and I do not know how it works.

Thank you very much.
**** In the past you had suggested: "Easy Jquery Profiles", and only thanks to you I could solve the problem.

Greetings thank you. René
User avatar
Platinum Boarder

teitbite
Sat Mar 18, 2017 1:53 pm
Hi

Using multiple extensions always triggers such issues so it's important to select extensions which are using same javascript libraries if possible.

Also template's build javascript compression has an exclude field to exclude some of the files from being compressed. Not every javascript works when parred with a different one. Unfortunately script cannot tell when conflict happened, so it's all up to users to pick which files to exclude.
User avatar
Moderator

GK User
Sat Mar 18, 2017 4:21 pm
Hi, thanks for your response and for your high professionalism. Greetings from Italy. René.
User avatar
Platinum Boarder

teitbite
Tue Mar 21, 2017 9:29 am
Hi

I'm not sure about that, but I'm glad it's solved. Closing this thread now.
User avatar
Moderator


cron