Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Silverstripe 5 Updates #49

Merged
merged 3 commits into from
Apr 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@
"license": "MIT",
"homepage": "https://github.com/werkbot/silverstripe-module-newsletter",
"require": {
"php": "^7.3 || ^8.0",
"silverstripe/cms": "~4.0",
"silverstripe/framework": "~4.0",
"campaignmonitor/createsend-php": "*",
"constantcontact/constantcontact": "*",
"activecampaign/api-php": "*",
"mailchimp/marketing": "*"
"silverstripe/cms": "^5.0",
"silverstripe/framework": "^5.0",
"campaignmonitor/createsend-php": "^7.0",
"constantcontact/constantcontact": "^1.3",
"activecampaign/api-php": "^2.0",
"mailchimp/marketing": "^3.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5"
Expand Down
4 changes: 4 additions & 0 deletions docs/en/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,7 @@ Newsletter subscribers can automatically be added to a third party mailing servi
- Enter the environment variables for your desired integration. See the [.env.example](../../.env.example) file.
- In the newsletter settings (`/admin/settings`), select the desired newsletter API.
- Select a contact list to insert new subscribers. If no list selection appears, check your environment variables. Note that there are currently no list options for Redtail CRM.

### Shortcode
You can include a newsletter form in HTMLeditors with a shortcode: `[newsletterform,class="form newsletter-form"]`
The `class` attribute can be used to add a css class to the form.
Loading