Advanced templating More template placeholders This chapter contains additional details that may be useful for a designer who is creating a template for use in phpList. [SUBJECT] [SUBJECT] adds the subject of the email within the newsletter text. [CONTENT] - a mandatory placeholder This is where the message's content (body) will be inserted. Every template must have a [CONTENT] placeholder. [FOOTER] The message footer [SIGNATURE] [SIGNATURE] prints the phpList image signature. [FORWARDURL] [FORWARDURL] is replaced with the personalised URL only. To use this, you will need to wrap it in HTML, like this: Forward to a Friend [PREFERENCESURL] [PREFERENCESURL] allows the recipient to edit their subscribe preferences, for example update their email or the number of lists they belong to. This essentially allows them to maintain your list up to date for you and is an invaluable feature. [UNSUBSCRIBEURL] - a mandatory placeholder [UNSUBSCRIBEURL] allows the recipient to totally unsubscribe from all your lists. In phpList you must include this placeholder somewhere in your body or footer. It is best to use this along side [PREFERENCESURL] if you manage multiple lists, so subscribers can leave just one list rather than all lists if they want. [DOMAIN] Prints your domain, e.g. yourdomain.com as listed in your configuration settings. [EMAIL] Prints the subscribers email address; Some older placeholders These are some older placeholders which still work, but are not recommended for use: [FORWARD] [FORWARD] is a link where the recipient can go to “forward this message”. The default text for this placeholder is this link. For example, if you use "If you want to forward this message to a friend click [FORWARD]", it will come out as: [UNSUBSCRIBE] Like Forward the link that subscribers can use to unsubscribe. It will also be replaced with "This Link", which means you can use it like this: To unsubscribe from our newsletter click [UNSUBSCRIBE] [PREFERENCES] Like Forward and Unsubscribe the link that subscribers can use to update their personal details and preferences. It will also be replaced with "This Link", which means you can use it like this: To change your preferences click [PREFERENCES] Feedback Discuss this chapter here.