Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
en:syces:customizing:sms [2015/07/06 08:38] co created |
en:syces:customizing:sms [2015/08/05 07:22] (current) co |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== SMS ====== | ====== SMS ====== | ||
| + | For sending of user credentials by SMS you need an smstrade account, see ([[en: | ||
| - | After creating accounts manually in the frontend | + | SMS are sent when you choose SMS as a registration method for self-ticketing (see [[en: |
| + | after creating accounts manually in the frontend, if you have entered a mobile number for the account. | ||
| - | ===== sms.tpl (default) | + | ===== Process of customizing |
| - | This is the template currently used for the sending | + | Customizing |
| + | < | ||
| + | <!-- BEGIN SMS --> | ||
| + | <!-- END SMS --> | ||
| + | </ | ||
| + | You can use [[en: | ||
| + | all others should be named sms.tpl. | ||
| + | |||
| + | If you want to provide more than 1 language you have to either use the standard template variables, that get translated automatically, | ||
| + | |||
| + | Testing of your templates is possible in [[en: | ||
| + | |||
| + | ===== sms.tpl (default) ===== | ||
| + | |||
| + | This is the template currently used for the sending of SMS. Anything in brackets {} will be replaced. \\ | ||
| + | The good thing is, that the sms is translated to German, English, Italian, French, Spanish, Dutch, Portuguese if necessary.\\ | ||
| + | < | ||
| + | <!-- BEGIN SMS --> | ||
| + | {HEADER} | ||
| + | {BODY} | ||
| + | {FOOTER} | ||
| + | <!-- END SMS --> | ||
| + | </ | ||
| ===== template variables ===== | ===== template variables ===== | ||
| + | These also get translated.\\ | ||
| + | {HEADER}: Dear Mr. < | ||
| + | {BODY}: | ||
| + | {FOOTER}: Yours sincerely <...> Team \\ | ||
| + | |||
| + | {GREETING}: Yours sincerely\\ | ||
| + | {USERNAME}: < | ||
| + | {PASSWORD}: < | ||
| + | |||
| + | **example**: | ||
| + | < | ||
| + | <!-- BEGIN SMS --> | ||
| + | {HEADER} | ||
| + | {BODY} | ||
| + | {GREETING} Hotel Sunshine | ||
| + | <!-- END SMS --> | ||
| + | </ | ||
| + | what you definitely need to send is {USERNAME} and {PASSWORD}\\ | ||
| + | < | ||
| + | <!-- BEGIN SMS --> | ||
| + | Hi, to log in use {USERNAME} / {PASSWORD} as username / password. Have fun! | ||
| + | <!-- END SMS --> | ||
| + | </ | ||
| + | |||