Welcome to the LimeSurvey Community Forum

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

Removing "Exit and clear all" option

  • YannRaineau
  • YannRaineau's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 7 months ago #172899 by YannRaineau
Removing "Exit and clear all" option was created by YannRaineau
Hello,
I'm sorry this question has already been raised, but after several trials, I still can't remove "Exit and clear all" option on my questionnaires.

I copied a template so I could edit it, I chose "Navigator" screen, then I went into "clearall_buttons.twig" and erased everything, and yet, the option is still active when I use this template.

I'm using Version 3.14.5. Can anybody tell me the way to get to it?

Thank you very much.
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
5 years 7 months ago #172901 by LouisGac
Replied by LouisGac on topic Removing "Exit and clear all" option
extend the survey theme of your choice, then edit the file nav_bar.twig and remove:
Code:
{{ include('./subviews/navigation/clearall_links.twig') }}

github.com/LimeSurvey/LimeSurvey/blob/ma...der/nav_bar.twig#L45

of course, you must then select this survey theme for your survey....
The topic has been locked.
More
5 years 7 months ago #172903 by jelo
Replied by jelo on topic Removing "Exit and clear all" option
Is there already a setting for showing/hiding "Exit and clear all"?

I see
Code:
{% if aSurveyInfo.bShowClearAll == true %}
in the themes.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • YannRaineau
  • YannRaineau's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 7 months ago #172904 by YannRaineau
Replied by YannRaineau on topic Removing "Exit and clear all" option
Thank you so much!
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
5 years 7 months ago #172905 by LouisGac
Replied by LouisGac on topic Removing "Exit and clear all" option

jelo wrote: Is there already a setting for showing/hiding "Exit and clear all"?

I see

Code:
{% if aSurveyInfo.bShowClearAll == true %}
in the themes.


It's only to remove it from survey list:
github.com/LimeSurvey/LimeSurvey/blob/ma...ysController.php#L40

But it would make sens to create a theme option for that.
The topic has been locked.
More
5 years 7 months ago #172909 by jelo
Replied by jelo on topic Removing "Exit and clear all" option
Thanks for the github link.

I have opened a feature request.Not very important, but might help reduce some support tickets.
bugs.limesurvey.org/view.php?id=14001

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: LouisGac
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose