Module refers to the part of the CMS "Interactive" and can be installed optionally.
If the module is connected to the site page, on this page, you can disconnect from the mailing list and edit the list of categories to which the subscriber is connected (if the "Use category" option in the module settings). Edit subscription form is available to the user in a special hash link that the user will receive on your email address. If the address is not in the database, the form is available for the address and without hash. Edit subscription for e-mail can be regardless of whether the user is logged in or not.
The subscribers list is updated as follows:
When registering and ordering e-mail address is added to the database automatically or marked jackdaw "Subscribe for news", if it is set in the module settings.
Registered user data account settings will see the link to edit your subscription (if you have a page with an attached module "Subscription") or select "Subscribe to news" (if it is enabled in the module settings).
Mailings displayed in the dispatch order.
Mailings have the following characteristics.
Newsletter is sent only if the fields are filled with the "Mailing contents", "Send" and mailing was not sent earlier.
Newsletter is sent to the e-mail addresses from the "Subscribers" section.
Categories can have an unlimited number of subcategories. If necessary, the category can not be used. To do this, disable the "Use category" in the module settings.
Mailings can be assigned to multiple categories to reach people who subscribed to different categories.
When deleting a category will delete all sub-categories and mailings.
Subscribers have the following characteristics.
SMS-sending is possible if in the "Site settings" enabled option "Enable SMS-notifications". Releases SMS-distribution are displayed in the dispatch order.
SMS mailings have the following characteristics.
This section contains the phone number which the SMS-mailing. Newsletter is only numbers marked option "Receives mailing". Base phones filled manually from the admin panel.
Phones have the following characteristics.
Для работы с модулем «Mailing» служат следующие шаблонные теги:
show_form – выводит форму подписки на рассылки.
Атрибуты:
— defer – deferred load tag template tag: event – load content only at the request of the user when you click "Upload", emergence – load content only when the client window appears in the browser window, async – asynchronous (simultaneous) content loading together with the content of template tags with the same marker, sync – synchronous (sequential) load of content in conjunction with the content of template tags with the same marker, by default, downloading content only at the request of the user;
— defer_title – text string displayed at the point where the loadable content appears with the help of delayed loading of the template tag;
— template – tag template (file modules/subscription/views/subscription.view.form_template.php; default - file modules/subscription/views/subscription.view.form.php).
Example:
<insert name="show_form" module="subscription">
В шаблоне тега можно получить значение любого атрибута через переменную $result["attributes"]["название атрибута"]
.
{subscription} – Mailing
{subscription_category} – Categories of mailing
{subscription_category_parents} – Parents relations of категорий рассылок
{subscription_category_rel} – Связи рассылок и категорий
{subscription_emails} – Подписчики на рассылку
{subscription_emails_cat_unrel} – Отключенные категории рассылок у подписчиков
{subscription_phones} – Телефоны для рассылок
{subscription_sms} – SMS-sending
modules/subscription/admin/subscription.admin.php – Mailing;
modules/subscription/admin/subscription.admin.category.php – Editing categories;
modules/subscription/admin/subscription.admin.config.php – Module settings;
modules/subscription/admin/subscription.admin.emails.php – База электронных ящиков для рассылок;
modules/subscription/admin/subscription.admin.phones.php – База номеров телефонов для SMS рассылки;
modules/subscription/admin/subscription.admin.sms.php – Рассылки по SMS;
modules/subscription/css/subscription.form.css – {;
modules/subscription/js/subscription.form.js – JS-сценарий формы подписки на рассылки модуля «Рассылки»;
modules/subscription/subscription.php – Controller;
modules/subscription/subscription.action.php – Обработка запроса при отправке сообщения из формы подписки на рассылку;
modules/subscription/subscription.export.php – Экспорт телефонов и электронных ящиков;
modules/subscription/subscription.install.php – Module installation;
modules/subscription/subscription.model.php – Model;
modules/subscription/views/subscription.view.edit.php – Шаблон форма редактирование подписки на новости;
modules/subscription/views/subscription.view.error.php – Шаблон информационного сообщения;
modules/subscription/views/subscription.view.form.php – Subscription form template.