Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Customize user login page

  • Hurley11Man
  • Hurley11Man's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 9 months ago #195840 by Hurley11Man
Customize user login page was created by Hurley11Man
I am trying to add a message to the user login page that informs the user that Internet Explorer is not supported for the admin interface. Is there a way to do this? Also, if something like this is added will it be overwritten when upgrading LimeSurvey?

The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 8 months ago #195854 by tpartner
Replied by tpartner on topic Customize user login page
LimeSurvey version?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • Hurley11Man
  • Hurley11Man's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 8 months ago #195859 by Hurley11Man
Replied by Hurley11Man on topic Customize user login page
Hi there, I am currently using LimeSurvey version 3.21.4.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 8 months ago #195870 by tpartner
Replied by tpartner on topic Customize user login page
Create a custom admin theme and JavaScript file as described here - www.limesurvey.org/manual/Custom_Admin_T...eating_a_new_theme_2 .

Add something like this to the custom.js file:

Code:
$(document).on('ready pjax:scriptcomplete',function(){
 
    if($('#loginform').length > 0) {
 
    $('.login-submit').after('<div class="row login-content custom">\
                  <div class="col-lg-12 text-warning"><strong>My custom message.</strong></div>\
                </div>');
    }
});


Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • Hurley11Man
  • Hurley11Man's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 8 months ago #195875 by Hurley11Man
Replied by Hurley11Man on topic Customize user login page
Thank you very much! This works perfectly!
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose