You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Disable openlogin on CP version 3.6 mobile

Question
7
Views
0
Comments
edited Nov 21, 2018 10:31PM in Customer Portal

Summary

Disabling open login generates error preventing users from signing on; severe loss of functionality

Content

We do not use PTA and wanted to disable openlogin signon on the mobile page.

We modified the template mobile.php and passed the two attributes

sub:login:open_login_providers=""
sub:login:create_account_fields=""

see code snippet.

However, we are getting an error :

"logic.js:166 Uncaught TypeError: Cannot read property 'FOOTER' of undefined
    at child._createDialog (logic.js:166)"

We also tried extending the LoginDialog widget's java script and overriding the function _createDialog with the following lines commented out :

//width: '100%',

//height: '100%'

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!