Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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:syces:frontend:client:client#smstrade_credentials_optional|Client Module > smstrade credentials]]).
  
-After creating accounts manually in the frontend user credentials can be sent by SMS, if you have entered a mobile number for the account. But sending of SMS is mostly used as registration method for self-ticketing, which can be configured an tested+SMS are sent when you choose SMS as a registration method for self-ticketing (see [[en:syces:selfserviceportal:self_service_portal|Location > Walled Garden Options]]) or  
 +after creating accounts manually in the frontend, if you have entered a mobile number for the account.
  
-===== sms.tpl (default) =====+===== Process of customizing sms =====
  
-This is the template currently used for the sending of SMS. Anything in brackets {} will be replaced by real values+Customizing of SMS is done by templatesYou need to create one or more templates (use one of the examples below) and edit it/them according to your needs. You can write any text and use any available placeholder (see description below) between the following start and end lines:\\ 
 +<code> 
 +<!-- BEGIN SMS --> 
  
 +<!-- END SMS --> 
 +</code>
  
 +You can use [[en:syces:frontend:location:uploadmanager|Upload Manager]] for uploading them. There you can also find described in which order templates are selected, depending on user / browser language, location, the template name and where those templates reside. Templates, that should only be used for certain locations must be called sms-<locationid>.tpl,
 +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, or you can translate yourself and place different templates into language folders.
 +
 +Testing of your templates is possible in [[en:syces:selfserviceportal:self_service_portal#other_options|Preview SMS]], if you choose 'SMS' as registration method.
 +
 +===== 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.\\
 +<code>
 +<!-- BEGIN SMS --> 
 +{HEADER} 
 +{BODY} 
 +{FOOTER}  
 +<!-- END SMS -->  
 +</code>
 ===== template variables ===== ===== template variables =====
 +These also get translated.\\
 +{HEADER}: Dear Mr. <name>, Dear Mrs. <name> or Dear Customer \\
 +{BODY}:   your credentials: User name: <username>  Password: <password>  \\
 +{FOOTER}: Yours sincerely <...> Team \\
 +
 +{GREETING}: Yours sincerely\\
 +{USERNAME}: <username>\\
 +{PASSWORD}: <password> \\
 +
 +**example**: If you want to keep everything as it is, but just want to change the footer from ..Team to Hotel Sunshine you should use it like this:\\
 +<code>
 +<!-- BEGIN SMS -->  
 +{HEADER} 
 +{BODY} 
 +{GREETING} Hotel Sunshine 
 +<!-- END SMS --> 
 +</code>
 +what you definitely need to send is {USERNAME} and {PASSWORD}\\
 +<code>
 +<!-- BEGIN SMS --> 
 +Hi, to log in use {USERNAME} / {PASSWORD} as username / password. Have fun!  
 +<!-- END SMS --> 
 +</code>
 + 
  
QR Code
QR Code SMS (generated for current page)