Tip-a-Friend example template

# 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

### TEMPLATE_TIPFORM

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

###GW1B### Tip a friend:###GW1E###
###GW1B###You're now sending this link to an email recipient:###GW1E### ###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###Recipient email: *###GW1E### ###GW2B###(Separate many recipients by comma)###GW2E### |  |
###GW1B###Message:###GW1E### |  | ###MESSAGE###
###GW1B###HTML message:###GW1E### |  |
###GW1B###Repeat code: *###GW1E### ###GW2B###(To prevent misuse of this form we kindly ask you to read the letters in the image and repeat them in the form field.)###GW2E### |  | ###CAPTCHA_HTML###
###GW2B###(You must fill in fields with * correctly!)###GW2E### |  |

### TEMPLATE_TIPFORM_SENT

This is the template for the 'is-sent' display.
###GW1B### Message is sent to:
###RECIPIENT###
Go back ###GW1E###

### TEMPLATE_TIPLINK

This is the template for the link to the tip-page
###GW1B###Click here to tip a friend about this page!###GW1E###

### TEMPLATE_EMAIL

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

    Tip: Check this news

    ###YOUR_NAME### (###YOUR_EMAIL###) wants you to take a look at this link:

    ###URL###

    This is the message:

    ###MESSAGE###

    Best regards