Home arrow Ondersteuning arrow Forums
LimeSurvey Forums
Welcome, Guest
Please Login or Register.    Lost Password?
1.71+ how to change default email templates? (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: 1.71+ how to change default email templates?
#19764
chiggy (User)
Fresh Lemon
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
1.71+ how to change default email templates? 1 Month, 2 Weeks ago Karma: 0  
I'd like to change the email template body and subject but don't want to click the Use Default button each time.

Where can I change the subject and body that automatically shows up once you click the email template button?

Thanks
Charles
 
Logged Logged  
  The administrator has disabled public write access.
#19820
rakete (User)
Expert Lime
Posts: 112
graphgraph
User Offline Click here to see the profile of this user
Re:1.71+ how to change default email templates? 1 Month, 1 Week ago Karma: 3  
You can change it there! Change it, Scroll down and hit the "save" button.

Manually: you have to change the fields surveyls_email_* in table lime_surveys_languagesetting for each survey.

btw. when you hit the default button, you reset your emailtemplate to default... How did you manage to change your template with this?

Good Luck!
 
Logged Logged  
 
  The administrator has disabled public write access.
#19826
chiggy (User)
Fresh Lemon
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
Re:1.71+ how to change default email templates? 1 Month, 1 Week ago Karma: 0  
Thanks for the reply.

I changed the text around line 39 of admin/tokens.php
I changed the text there but it only appears when I click use default in the edit email template web page.

I also found it in the /locaale/*/LC_MESSAGES/*.po file
Though this did not work as I expected.

I'd rather it just show up since I want the same subject and body for each survey and don't want to have to click "use default" 6 or 8 times for every survey.
 
Logged Logged  
  The administrator has disabled public write access.
#19850
rakete (User)
Expert Lime
Posts: 112
graphgraph
User Offline Click here to see the profile of this user
Re:1.71+ how to change default email templates? 1 Month, 1 Week ago Karma: 3  
If you make a new survey the default values will be written in the tables I mentioned above.
I presume you don't make new surveys every day, you just import the old ones, right?

Change the templates with the emailtemplateseditor and save. Then export the survey and import it again, you will have the saved text without clicking use default every time.

Another way would be to change the values under "SURVEYS_LANGUAGESETTINGS TABLE" in an exported .csv file before importing.

Good Luck!
 
Logged Logged  
 
  The administrator has disabled public write access.
Go to top