- Posts: 42
- Thank you received: 1
Change link Help Menu
3 months 1 week ago #233014
by juliodiz
Change link Help Menu was created 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?
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.
3 months 1 week ago #233028
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
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.
3 months 6 days ago #233090
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
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
And everything will be overwritten by an update.
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
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.
3 months 6 days ago #233101
by tpartner
- 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.
Replied by tpartner on topic Change link Help Menu
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.And everything will be overwritten by an update.
- 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.
3 months 6 days ago #233107
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
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.
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.
3 months 6 days ago #233108
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Change link Help Menu
This way I learned how to replace an entire <li> </li> block.
Thank you.
Joffm
Thank you.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Please Log in to join the conversation.