Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/terminal42/contao-news_newsletter
https://github.com/terminal42/contao-news_newsletter
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/terminal42/contao-news_newsletter
- Owner: terminal42
- License: mit
- Created: 2014-07-23T07:43:32.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2024-08-13T09:58:11.000Z (5 months ago)
- Last Synced: 2024-11-15T19:08:15.676Z (about 2 months ago)
- Language: PHP
- Size: 34.2 KB
- Stars: 2
- Watchers: 5
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# News to Newsletter
You want to send a newsletter every single time a news will be published? Here you go.
## How-to
### Requirements
1. (notification_center)[https://extensions.contao.org/?p=terminal42%2Fnotification_center] installed
2. News module enabled
3. Newsletter module enabled### Configuration
#### Notification Center
[Manual of the Notification Center (German)][1]##### Gateway
Setup "Standard email gateway"
##### Notifications
New notification
- Type: News newsletter - DefaultNew 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!"[1]: https://extensions.terminal42.ch/docs/notification-center/