phpLedMailer Template Modification
Documentation Index
Templates are used in phpLedMailer to format subscribe, unsubscribe
and verification reply pages. All templates are stored in the templates/ folder
of your installation. Here is a listing of each template and what it is used
for:
- defaultmessage.html
This is the template used when you create a New Mail Item from within
the application. Be sure *not* to include a <head></head> section
and <body></body> tags, as this tends to mess up the WYSIWYG editor.
This is one you will likely want to modify if you find yourself changing the
formatting of your news letters often.
- subscribe.html
This file is the template for what subscribe.php will use if called directly
(without being POST'd to) as a generic sign-up page for your visitors. It
is recommenced that you copy the contents of this document into a page within
your site and customize it to fit your needs. DO NOT FORGET to point
the method="" field for the <form> tag to the actual path
of subscribe.php
- The rest
The rest of the pages are self explanatory and editing them is completely
optional. These generally effect the output of pages shown to your visitors
after they have completed some action (such as verifying their e-mail address).
Modify them at will, but pay attention to what they do or you may confuse
your users if you have the wrong text in them.
Place Holders
Within each of the templates are place holders, in the form of {name} (that
is '{', the name of the place holder, and a closing '}') These are used to dynamically
insert text into the template. Below is a list and description of relevant place
holders for these templates:
- {listname} - This is the name of your mailing list, as defined in the configuration
of the application.
- {firstname} - This is the first name of the person subscribing, or unsubscribing
from the list.
- {lastname} - Same as above, except last name
- {emailaddr} - This is the e-mail address the visitor used to subscribe to
the list with.
Copyright Ledscripts.com
2005