I have tried to insert the tag @NewsImage_ctrl, but it doesn't output the image field.
DwTemplateTags is also not working in the template (Files/Templates/NewsV2/Edit/Form.html).
Developer forum
E-mail notifications
Frontend editing NewsV2 images
Replies
Hi Charlotte, I'm glad to see again.
To upload images you need to add a news custom field with “file manager” type. Then choose the custom field in page’s paragraph settings. After you will see upload control in the news form.
Kind Regards
Zhukovskiy Yury
Hi Yury - good to see you too :)
I have done as you say and I get the field visible in the form. But it seems there is no image anywhere after I upload, so where is this images placed? In the notify.html template there is a tag "News.Image", but this image is empty, so there must be a coupling missing.
Kind regards, Charlotte
Ok I found the images - in the Files folder (!!!). So now they are ok. Next question is how do I refer to these in the mail (Notify template). I tried using the same tag as for the custom field, but nothing shows up in the email - I expected at least the file path to be there.
Hi Charlotte ,
I have researched the problem and found:
First, you can’t extent notify template by custom fields, you can use only standard image tags.
Second, there is no Image tag in Form.html template, all possible tags are hardcoded, except custom field.
So, you can make a new feature request for DW or try another solution, for example with new Forms module. It has configuration, so you can configure fields set (also a filemanger). And the Forms module can sent notifications.
Kind Regards
Zhukovskiy Yury
You must be logged in to post in the forum