how to change a link

how to change a link

PageSpeed test gives me:
"The following resources have identical contents, but are served from different URLs. Serve these resources from a consistent URL to save 1 request(s) and 91.4KiB.

(1)***https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js***
(2)***https://www.mysite.com/nl/media/sourcecoast/js/jq-bootstrap-1.8.3.js*** "

How to solve this problem? How can I rewrite code (2)  to code (1) in mod_sclogin helper.php file on 135 line:

Code:


$this->doc->addScript(JURI::base(true) . '/media/sourcecoast/js/jq-bootstrap-1.8.3.js');

I did not find link (1) on my site, then I decided to change the link (2)

Thanks, Vero

Edited by: Vero - Nov-07-16 16:11:03
Vero
useravatar
Offline
26 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: how to change a link

Vero,
The content of those 2 files is very different. If you're already loading jQuery and Bootstrap Javascript on your site, you can disable the jq-bootstrap inclusion in the SCLogin settings using the "Include jQuery / Bootstrap" setting.

Try testing with and without that setting to see if you run into issues.

I hope that helps,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23835 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: how to change a link

Login button not works at all.
My site:
https://www.adrialle.com/nl/

Vero

Vero
useravatar
Offline
26 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: how to change a link

I don't see the bootstrap javascript file on your page. Without that file, the modal will not pop up. Can you go into the SCLogin module parameters > Advanced tab and enable the 'Load jQuery' option? Let us know if the behavior changes after this option.

-Melissa

Want to stay up-to-date on new releases and development efforts?
Follow us on Twitter @sourcecoast and @mandreae

mel
Melissa
useravatar
Offline
3545 Posts
Website 
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: how to change a link

I did, nothing canges

Vero
useravatar
Offline
26 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: how to change a link

So now I am seeing the modal popup:
https://www.sourcecoast.com/images/agorapro/attachments/73/mini_login-modal.png

I created a user on the site, then attempted to log in on the SCLogin modal. It attempted to log in, but since I haven't received an activation link in an email yet, the account is not activated.

Could you describe what exact problem you're having?

-Melissa

Want to stay up-to-date on new releases and development efforts?
Follow us on Twitter @sourcecoast and @mandreae

Attachments:
mel
Melissa
useravatar
Offline
3545 Posts
Website 
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: how to change a link

I don't understand. If I press on login link nothing happens. I don't see popup.
I checked it from my son computer and it works...

Edited by: Vero - Nov-20-16 12:38:48
Vero
useravatar
Offline
26 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: how to change a link

Hmm. Could you tell me what browser you are using? Could you also try disabling any privacy plugins in the browser that you are using? Are there any errors on the console in your browser?

Want to stay up-to-date on new releases and development efforts?
Follow us on Twitter @sourcecoast and @mandreae

mel
Melissa
useravatar
Offline
3545 Posts
Website 
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: how to change a link

I am using Chrome (Windows 10), but in Edge the same result: only dark window after press on log link without popup. If I press on this dark page it becomes no light, I have to refresh the page.

Vero
useravatar
Offline
26 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: how to change a link

There must be something different about your browser or computer configuration. Please check/disable firewalls or virus scanner and test. Also, in the browsers themselves, look for addons that may try to prevent some code from functioning, like tracking-blocking extensions, adblockers, etc.

See if disabling any of those helps as that will help narrow down the issue.

Thanks,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23835 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
11508
Total Polls:
0
Total Posts:
48441
Posts today:
12
User Info
 
Total Users:
47480
Newest User:
scottrobins
Members Online:
1
Guests Online:
1216

Online: 
alzander
Social Stream
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program