terminal42 / contao-news_newsletter
Allows you to send your news as a newsletter using the Notification Center.
Fund package maintenance!
terminal42
Other
Installs: 2 252
Dependents: 0
Suggesters: 1
Security: 0
Stars: 2
Watchers: 5
Forks: 2
Open Issues: 5
Type:contao-bundle
Requires
- php: ^8.1
- codefog/contao-haste: ^5.0
- contao/core-bundle: ^4.13 || ^5.0
- contao/news-bundle: ^4.13 || ^5.0
- contao/newsletter-bundle: ^4.13 || ^5.0
- doctrine/dbal: ^3.0
- symfony/config: ^5 || ^6 || ^7
- symfony/dependency-injection: ^5 || ^6 || ^7
- symfony/http-kernel: ^5 || ^6 || ^7
- terminal42/notification_center: ^2.0
Requires (Dev)
- contao/manager-plugin: ^2.0
- terminal42/contao-build-tools: dev-main
Conflicts
- contao/manager-plugin: <2.0 || >=3.0
README
You want to send a newsletter every single time a news will be published? Here you go.
How-to
Requirements
- (notification_center)[https://extensions.contao.org/?p=terminal42%2Fnotification_center] installed
- News module enabled
- Newsletter module enabled
Configuration
Notification Center
Manual of the Notification Center (German)
Gateway
Setup "Standard email gateway"
Notifications
New notification
- Type: News newsletter - Default
New message
- Choose the gateway you added
- Check "Publish message"
Manage languages and add new language
- Select a language and activate "Fallback"
- Simple Tokens:
- ##news_*##
- ##news_archive_*##
- ##news_headline##
- ##news_teaser##
- ##news_text## (content elements)
- ##news_url##
Newsletter (Contao)
- Add new channel
News
- Add news archive and enable newsletter in the setting
- Choose the newsletter channel and the notification
- Write a new article and do not publish it by check "Publish item"
- Save and close
- In the news overview click on the envelope icon
- A message shows up saying "Newsletter sent successfully!"