Change link Help Menu

More
3 months 1 week ago #233014 by juliodiz
Please help us help you and fill where relevant:
Your LimeSurvey version: 5
Own server or LimeSurvey hosting:
Survey theme/template:
==================
In configuration possible to change link for Help Menu. Its possible?

Please Log in to join the conversation.

More
3 months 1 week ago #233028 by tpartner
Replied by tpartner on topic Change link Help Menu
What help menu? Please provide a screenshot.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
3 months 6 days ago - 3 months 6 days ago #233088 by juliodiz
Replied by juliodiz on topic Change link Help Menu
Help button in header

Last edit: 3 months 6 days ago by juliodiz.

Please Log in to join the conversation.

More
3 months 6 days ago #233090 by Joffm
Replied by Joffm on topic Change link Help Menu
You did not answer all of the questions at the start.
Therefore we do not know where your LimeSurvey installation is hosted.

If it is on your own webspace and you have access to the files
you may adapt
"_help_menu.php" located in the "super" folder.

 
And to answer your other question about hiding:
you may comment the content of this file.

 
But beware:
The displayed texts are saved in the translation (*:mo) file.
Either you edit this by
  • downloading the *.po file
  • editing with PoEdit (which you have to download an install)
  • uploading to your "locale" folder
or you hardcode the texts.

And everything will be overwritten by an update.

 

 


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:

Please Log in to join the conversation.

More
3 months 6 days ago #233101 by tpartner
Replied by tpartner on topic Change link Help Menu

And everything will be overwritten by an update.

I'm on my phone now so cannot provide a code example but you may be able to hide/modify that element via JavaScript in a custom admin theme. This would get around the updating concerns.

- manual.limesurvey.org/index.php?title=Cu..._Themes&oldid=173754

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
3 months 6 days ago #233107 by tpartner
Replied by tpartner on topic Change link Help Menu
A follow-up...

Assuming you have LimeSurvey version 5.x, place something like this in the custom.js file of your custom admin theme.

$(document).on('ready pjax:scriptcomplete',function(){
 
	// Remove the core links
	$('#help-dropdown li').remove();
 
	// Insert some new links
	$('#help-dropdown').append('<li>\
			<a href="https:google.com" target="_blank">\
				Google\
				<i class="fa fa-external-link  pull-right"></i>\
			</a>\
		</li>\
		<li>\
			<a href="https:example.org" target="_blank">\
				Example\
				<i class="fa fa-external-link  pull-right"></i>\
			</a>\
		</li>');
 
});

 

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:
The following user(s) said Thank You: juliodiz

Please Log in to join the conversation.

More
3 months 6 days ago #233108 by Joffm
Replied by Joffm on topic Change link Help Menu
This way I learned how to replace an entire <li> </li> block.

Thank you.

Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

More
3 months 6 days ago #233109 by juliodiz
Replied by juliodiz on topic Change link Help Menu
Thanks!

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now