Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:module_manual:message:templates [2013/09/04 03:52]
shangy [Field References]
en:module_manual:message:templates [2017/12/12 03:05] (current)
Line 6: Line 6:
  
 Click **Message -> Templates** to enter the template page. Click **Message -> Templates** to enter the template page.
 +
 {{:​en:​module_manual:​message:​信息模版管理_页面.jpg?​768|}} {{:​en:​module_manual:​message:​信息模版管理_页面.jpg?​768|}}
  
Line 68: Line 69:
  
  
-===== 变量介绍 ​===== +===== Variables ​=====
-使用模板发送短信或邮件时会遇到这样的问题,邮件整体内容一致,但是部分地方需要替换成客户固有的信息,那么你需要在邮件内容中使用变量。+
  
-例如订票成功后,发送一则短信告知客户订单号。短信内容需要这样设置+When you send sms or emails, you need to change some information in a template first. Then you need to use variables in the email.
  
-您成功预定##​param0##​影城电影票##​param1##​张。订单编号##​param2##​,请于2013年6月30日前使用。+Like when the ticket has been booked successfully,​ an sms with the ticket number will be sent to the customer. The content of the sms can be like this:
  
-在群发信息页面,我们根据客户数据和短息模板内容,将数据列和变量一一对应。短信发送时,系统将客户数据替换到短信内容里。(您成功预定XXX影城电影票2张。订单编号xxx00992212,请于2013年6月30日前使用。)+//You have booked ##param1## ticket(sof Cinema ##param0##. The order number is ##param2##. Please use before June, 30, 2013.// 
 + 
 +When you are sending mass sms, the system will correspond the data row with the parameters according to the customer information and sms template. The information will replace the variables automatically. ​
  
 {{:​en:​module_manual:​message:​信息模版管理_匹配变量.jpg?​768|}} {{:​en:​module_manual:​message:​信息模版管理_匹配变量.jpg?​768|}}
  
-系统提供的变量有哪些?变量的含义是什么?+What parameters are provided by the system? What do they mean?
  
-1. 群发信息中提供十个变量,即##​param0##,##​param1##​.....##​param9##​,用于发送者自定义客户数据中哪列对应哪个变量。+1.In mass sms, we provide 10 variables, that is ##​param0##,##​param1##​.....##​param9##​. The senders can define which parameter correspond to what data.
  
-以下变量,系统自动使用相应数据去替换。邮件内容中存在哪些变量,系统就会替换哪些变量。+the following variables, system will replace the content with the value in system.
  
-2. Task template(任务提示邮件模版)+2. Task template
  
 {{:​en:​module_manual:​message:​信息模版管理_任务模板.jpg?​768|}} {{:​en:​module_manual:​message:​信息模版管理_任务模板.jpg?​768|}}
  
-**##​taskid##​**:任务的ID序号;+**##​taskid##​**:The id of the task;
  
-**##​title##​**:任务的标题;+**##​title##​**:the title of the task;
  
-**##​sender##​**:任务的发布者;+**##​sender##​**:who releases the task, aka the sender
  
-**##​sendertype##​**:任务发布者的类型;+**##​sendertype##​**:the type of the sender
  
-**##​receiver##​**:任务承接人;+**##​receiver##​**:the receiver of the task
  
-**##​receivertype##​**:任务承接者类型;+**##​receivertype##​**:the type ofthe receiver
  
-**##​status##​**:任务状态;+**##​status##​**:the status of the task
  
-**##​scheduler##​**:任务预计开始时间;+**##​scheduler##​**:the predcted start time of the task;
  
-**##​priority##​**:任务级别;+**##​priority##​**:the priority level of the task
  
-**##​ticketcategoryname##​**:任务类别的名称;+**##​ticketcategoryname##​**:the name of the task's category
  
-**##​email##​**:任务发布者;+**##​email##​**:the sender
  
-**##​option##​**:任务内容或修改明细;+**##​option##​**:the content of the task or modification histories.
  
-3. voicemail(语音邮件模板,当有语音留言时,系统会用此邮件通知分机所属者)+3. voicemail( ​The template of voicemail, when you get voice message, the system will inform the device)
  
 {{:​en:​module_manual:​message:​信息模版管理_语音邮件模板.jpg?​768|}} {{:​en:​module_manual:​message:​信息模版管理_语音邮件模板.jpg?​768|}}
  
-**##​teamname##​**:团队名称+**##​teamname##​**:team name 
  
-**##​devicename##​**:分机名称+**##​devicename##​**:device name
  
-**##​origdate##​**:留言时间+**##​origdate##​**:the time when the message happens
  
-**##​callerid##​**:留言者电话号码+**##​callerid##​**:the phone number of the person who calls
  
-4. admin bill(系统管理员账单)、team bill(团队管理员账单)、user bill(用户账单),每月定时发送的话费账单。+4. admin billteam billuser bill, phone bill which sent on the same set time every month
  
 {{:​en:​module_manual:​message:​信息模版管理_账单模板.jpg?​768|}} {{:​en:​module_manual:​message:​信息模版管理_账单模板.jpg?​768|}}
  
-**##​param_logo##​**:账单的logo显示,默认使用astercc官方logo。如需替换请更改此图片/​var/​www/​html/​asterCC/​data/​billpage/​astercc_logo.png +**##​param_logo##​**:the logo of the bill, astercc'​s ​logo at default. To change the picture please go to /​var/​www/​html/​asterCC/​data/​billpage/​astercc_logo.png
- +
-**##​param_zipcode##​**:目标帐号的邮政编码。+
  
-**##param_country##**:目标帐号的国家。+**##param_zipcode##**:the zipcode of the target account.
  
-**##param_city##**:目标帐号的城市。+**##param_country##**:the country of the target account.
  
-**##param_address##**:目标帐号的联系地址。+**##param_city##**:the city of the target account.
  
-**##param_username##**:目标帐号。+**##param_address##**:the address of the target account.
  
-**##param_statementstart##**:账单的计费起始日期。+**##param_username##**:target account
  
-**##param_statementend##**:账单的计费终止日期。+**##param_statementstart##**:the start date of the bill
  
-其余变量含义可直接参考模板中的中文名称。+**##​param_statementend##​**:the end date of the bill
  
  
 +To know about the meaning of the variables please refer to the Chinese name of the parameters.
en/module_manual/message/templates.1378266744.txt.gz · Last modified: 2017/12/12 03:11 (external edit)
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki