开发者

Creating Placeholder for mail template in social engine 4

开发者 https://www.devze.com 2023-03-21 03:52 出处:网络
SO I was able to add some field to my contact form using the add element code, but I can\'t seem to figure out how to include the data from these new fields in the email template.

SO I was able to add some field to my contact form using the add element code, but I can't seem to figure out how to include the data from these new fields in the email template.

The other fields use place holders liike [sender_email]. I suppose the fields are being posted to somewhere and then the placeholder is开发者_JAVA技巧 used to access that info.

Does anyone know where the placeholders are defined or perhaps an easier way to put the info in the mail template?


Ahhh, See I posted this after being confused for a couple hours then figured it out literally 5 minutes after posting. If anyone cares you can assign the placeholders in the HelpController.php file located in the core module. Hopefully this saves someone some time.

0

精彩评论

暂无评论...
验证码 换一张
取 消