Smarty processing in CGBetterForms question.
Posted: Mon Sep 04, 2017 4:04 am
I have been using CGBetterForms and it really is awesome and intuitive to use. Very flexible and quick.
I have encountered my first problem.
I have created a 'Download Brochure' form. It collects a Name and Email address then sends the download link.
I used the 'Send email to user supplied address' handler. In the 'Body Template' I included the download link. It look like this:
The form smarty is being parsed OK ({$full_name},{$email} etc.) but the {uploads_url} is blank in the sent email.
Can anyone shed light on this?
Cheers
Simon66
I have encountered my first problem.
I have created a 'Download Brochure' form. It collects a Name and Email address then sends the download link.
I used the 'Send email to user supplied address' handler. In the 'Body Template' I included the download link. It look like this:
Code: Select all
<a href="{uploads_url}/Brochure.pdf" title="Download Brochure">Download Brochure Here</a>Can anyone shed light on this?
Cheers
Simon66