Page 1 of 1

Smarty processing in CGBetterForms question.

Posted: Mon Sep 04, 2017 4:04 am
by Simon66
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:

Code: Select all

<a href="{uploads_url}/Brochure.pdf" title="Download Brochure">Download Brochure Here</a>
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

Re: Smarty processing in CGBetterForms question.

Posted: Mon Sep 04, 2017 2:02 pm
by calguy1000
I just tested. it worked fine here.

Re: Smarty processing in CGBetterForms question.

Posted: Mon Sep 04, 2017 11:21 pm
by Simon66
Thanks CalGuy,
I just tried again 24 hours later and its working perfectly.

I have no idea what I was doing wrong.

Sorry for wasting your time.

Simon66