Download the PHP package storychief/statamic-storychief without Composer
On this page you can find all versions of the php package storychief/statamic-storychief. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download storychief/statamic-storychief
More information about storychief/statamic-storychief
Files in storychief/statamic-storychief
Package statamic-storychief
Short Description Use StoryChief for collaboration on SEO blogposts, social posts and one-click multichannel distribution.
License MIT
Homepage https://storychief.io
Informations about the package statamic-storychief
StoryChief addon for Statamic 3
Description
Connect your Statamic website to StoryChief and publish straight to Statamic.
Looking for Statamic 2?
This plugin:
- Publishes articles straight from StoryChief
- Keeps your formatting like header tags, bold, links, lists etc
- Does not alter your website’s branding, by using your site’s CSS for styling
Installation
- Add the addon through the addon manager or
composer require storychief/statamic-storychief
- Publish the configuration
php artisan vendor:publish --tag=storychief-config
- Disable
TrimStrings
andConvertEmptyStringsToNull
middleware.
HOW IT WORKS
1. Create a Statamic channel
If you don't already have an account on StoryChief, sign up! here. Once created, add a Statamic channel on your workspace and take note of the encryption key it gives you.
2. Install addon
-
Install the addon through the Statamic addon manager of your website or by using composer:
-
Publish the configuration file:
- Set you collection (and blueprint) handle in the foreseen config options, as wel as your field mapping.
3. Disable TrimStrings and ConvertEmptyStringsToNull middleware.
Laravel (and thus Statamic) will register the Middleware TrimStrings
and ConvertEmptyStringsToNull
on a global level
by default. These can cause issues when validating the payload as they will manipulate them. In order for the addon to
work properly it is best to remove both of these middlewares from the global scope and add them back on the appropriate
route groups. The resulting App\Http\Kernel
should look similar to:
4. Confirm
Set your website's url on your Statamic channel and press save. Your website should now be connected.
REQUIREMENTS
This plugin requires a StoryChief account. Not a StoryChief user yet? Sign up for free!