Welcome to the LimeSurvey Community Forum

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

Edit Admin login Screen

  • HHouston03
  • HHouston03's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 3 months ago #191804 by HHouston03
Edit Admin login Screen was created by HHouston03
Hello,

I am new to the Limesurvey community and I have been searching the manuals and forums to learn to edit the admin login screen. We are currently using version 2.5 Build 160620 preparing to upgrade to the latest supported version. Please see attached image (the highlighted areas are what I would like to change) and thank you for any assistance that you can provide.

The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 3 months ago - 4 years 3 months ago #191822 by tpartner
Replied by tpartner on topic Edit Admin login Screen
You could create a custom admin theme and add something like this in your new custom.js file (assuming you also want to change the target of the help link):

Code:
$(document).ready(function(){
 
  if($('#loginform').length > 0) {
    $('.login-title.login-content h3').text('Use your Titan Pass credentials to log in');
 
    $('button[name="login_submit"]').nextAll('a:eq(0)')
    .html('Forgot your local password?<br />Contact UDM Help Desk')
    .attr('href', 'http://google.com')
    .attr('target', '_blank');
  }
 
});

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 4 years 3 months ago by tpartner.
The following user(s) said Thank You: DenisChenu, HHouston03
The topic has been locked.
  • HHouston03
  • HHouston03's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 3 months ago #191905 by HHouston03
Replied by HHouston03 on topic Edit Admin login Screen
Thank you for your response. I would like to edit the existing theme however, I cannot find the custom.js file. is there another file name/type that i can look up?

Herman
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 3 months ago #191917 by tpartner
Replied by tpartner on topic Edit Admin login Screen
There are no custom.js files in the core themes and modifying those themes will leave you exposed to overwriting when updating.

The link I provided explains how to implement a custom admin theme AND a custom.js file. Did you read it?


Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose