Developer forum

Forum » CMS - Standard features » Add domain to Forms for editor file upload field

Add domain to Forms for editor file upload field

Hans Ravnsfjall
Hans Ravnsfjall
Reply

When a form containing a file upload field is filled in forms for editor, the link in the generated email is a relative path.

eg.

/Files/System/FormUpload/myform/img.jpg

We want this to be an absolute url, as the people receiving the email donĀ“t usually log in to the system backend.

example

 

we want http://www.website.com/Files/System/FormUpload/myform/img.jpg and not just /Files/System/FormUpload/myform/img.jpg

 

How can this be done? Is it a setting on the forms for editors module?

 

BR

Hans 


Replies

 
Nicolai Pedersen
Reply

Hi Hans

The only way to add that is to change the template.

BR Nicolai

 
Hans Ravnsfjall
Hans Ravnsfjall
Reply

Ok, but I would have to add it to the Email template - correct?

 
Nicolai Pedersen
Reply

Yes.

 

You must be logged in to post in the forum