Welcome to the LimeSurvey Community Forum

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

Change link Help Menu

  • juliodiz
  • juliodiz's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
1 year 5 months 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?

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 5 months 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.

  • juliodiz
  • juliodiz's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
1 year 5 months ago - 1 year 5 months ago #233088 by juliodiz
Replied by juliodiz on topic Change link Help Menu
Help button in header

Last edit: 1 year 5 months ago by juliodiz.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 5 months 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

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 5 months 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.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 5 months 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.

Code:
$(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.
The following user(s) said Thank You: dtosun, juliodiz

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 5 months 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.

  • juliodiz
  • juliodiz's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
1 year 5 months ago #233109 by juliodiz
Replied by juliodiz on topic Change link Help Menu
Thanks!

Please Log in to join the conversation.

More
6 months 4 weeks ago - 6 months 4 weeks ago #250550 by dtosun
Replied by dtosun on topic Change link Help Menu
Hello,

Can i do it with new version? When i tried it couldn't work. Let me know how to do it new version.
Code:
CODE:$(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>');
 
});
Last edit: 6 months 4 weeks ago by dtosun. Reason: Adding code

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 months 4 weeks ago #250551 by Joffm
Replied by Joffm on topic Change link Help Menu
Hi,
you asked this already in the other part of the forum and you got an answer there.
[url] forums.limesurvey.org/index.php/forum/ca...mize-help-menu-items [/url]
And please don't pressure us.
We answer in our spare time. So sometimes it takes a few days.

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: dtosun

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose