Edit Admin login Screen

More
2 months 1 week ago #191804 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.

Attachments:

Please Iniciar sessão or Create an account to join the conversation.

LimeSurvey Partners
More
2 months 1 week ago - 2 months 1 week 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):

$(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.
Official LimeSurvey Partner - partnersurveys.com
Last edit: 2 months 1 week ago by tpartner.
The following user(s) said Thank You: DenisChenu, HHouston03

Please Iniciar sessão or Create an account to join the conversation.

More
2 months 1 week 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

Please Iniciar sessão or Create an account to join the conversation.

More
2 months 1 week 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.
Official LimeSurvey Partner - partnersurveys.com
Attachments:

Please Iniciar sessão or Create an account to join the conversation.

Começar agora!

Basta criar a sua conta e comece a usar o LimeSurvey hoje mesmo.

Registar agora
Subscreva o nosso boletim informativo!

Iniciar sessão