Page Changes

Page Changes

ever since I updated the SC Login and JFBconnect, whenever a user changes pages, the new page opens scrolled to the very bottom of the new page. Oddly, when you are logged in, the pages load normal, scrolled to the top of the page.

terzah
useravatar
Offline
5 Posts
Active Subscriptions:

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

Re: Page Changes

Is this with the latest version of  SCLogin that were released this morning? If not, which versions are you using? Could you provide a specific URL where I can see the behavior in action?

-Melissa

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

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

Re: Page Changes

My apologies for the lack of information...
Yes, I updated this morning and that is when the problem arose. The site is www.watchawear.com.

terzah
useravatar
Offline
5 Posts
Active Subscriptions:

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

Re: Page Changes

In the new SCLogin version, we put new code to try to autofocus on the username element. I see on your page that you have an SCLogin instance on the left hand slider and also another one down at the bottom. I think that the focus is going to that bottom username input.

Could you try making the following change which reverts back to how the SCLogin acted for 7.0.3? Since you're using Vertical Layout and non-Modal, the file you will want to edit is /modules/mod_sclogin/tmpl/joomlaLogin_vertical.php. At line 39, replace

Code:

<input name="username" tabindex="0" autofocus id="sclogin-username" alt="username" type="text" class="input-small"

                                   placeholder="<?php echo JText::_('MOD_SCLOGIN_USERNAME'); ?>">

with

Code:

<input name="username" tabindex="0" id="sclogin-username" alt="username" type="text" class="input-small"

                                   placeholder="<?php echo JText::_('MOD_SCLOGIN_USERNAME'); ?>">

Basically this just takes out the autofocus option. Let me know if this helps.

-Melissa

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

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

Re: Page Changes

As a test, I removed the bottom login... and the pages now load correctly...
So should I perform the edit as kindly suggested above???
Thanks for the outstanding support!!! :-)

terzah
useravatar
Offline
5 Posts
Active Subscriptions:

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

Re: Page Changes

If you're going to keep the module at the bottom permanently gone, then you don't need to make the code change. If you do want the login module back at the bottom, then I'd recommend the change to make sure that's the problem. There were only a few small changes that were done in the SCLogin module this release, so I'm fairly confident it's the autofocus that's the issue.

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

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

Re: Page Changes

I was able to edit as you instructed and it worked perfectly.

Additionally, as I do not use facebook, only google, how do i disable the facebook calls?

terzah
useravatar
Offline
5 Posts
Active Subscriptions:

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

Re: Page Changes

I have the same "problem" where the focus is set to the username field.  Our SCLogin is normally halfway at the right side of the page.
Will this autofocus be changed in the next version of SCLogin or do i need to edit the code (everytime i release a new website or everytime SClogin is updated) ?

kernel64
useravatar
Offline
1 Posts
Active Subscriptions:

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

Re: Page Changes

Make the code change now as I suggested. Then I will add a setting in the SCLogin parameters on whether the autofocus is enabled or not and will have it disabled by default. I've already added the issue to our tracker for a 7.1.2 release.

-Melissa

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

mel
Melissa
useravatar
Offline
3582 Posts
Website 
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:
11613
Total Polls:
0
Total Posts:
48804
Posts today:
7
User Info
 
Total Users:
47660
Newest User:
ethicalhuman
Members Online:
1
Guests Online:
838

Online: 
ramonmedina
Social Stream
SourceCoast Joomla Social Extensions
Friday, 25 May 2018
JFBConnect 8.0 Coming Soon! Stay tuned.
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