Tip-a-Friend

EXAMPLE




Global markers, as set up in TypoScript:
These are substituted throughout the whole template.

Markers:
GW1B / GW1E
GW2B / GW2E
GW3B / GW3E

GC1
GC2
GC3
GC4








Tell-A-Friend

This is the template for the form where the user enters the email addresse of the recipient.



###GW1B### Email this page to a friend:###GW1E### (###GW2B### * fields required ###GW2E###)

###GW2B######URL_DISPLAY######GW2E###
###GW1B###Error!
You didn't fill in all required fields or the email addresses was not valid!###GW1E###

###GW1B###Your Name: *###GW1E###

###GW1B###Your Email: *###GW1E###

###GW1B###Friend's email: *###GW1E###
###GW2B###(Separate many recipients by commas)###GW2E###

###GW1B###Message:###GW1E###









TEMPLATE_TIPFORM_SENT

This is the template for the 'is-sent' display.



###GW1B###

Your message has been sent to:
###RECIPIENT###

<< Go back to the page you were viewing ###GW1E###








TEMPLATE_TIPLINK

This is the template for the link to the tip-page



###LINK###Tell-A-Friend###LINK###







TEMPLATE_EMAIL

Template for the plain link notification email. First line is used as subject for the mail.





Hi,

###YOUR_NAME### (###YOUR_EMAIL###) has sent you this note to check out this page:

###URL###

###YOUR_NAME### has also attached a message:

###MESSAGE###