Sulu Media Storage on IONOS Cloud S3
Sulu CMS can be configured to upload media files directly to an external storage provider, like AWS S3 or Google Cloud Storage. But what about IONOS Cloud S3?
Sulu CMS can be configured to upload media files directly to an external storage provider, like AWS S3 or Google Cloud Storage. But what about IONOS Cloud S3?
With the Sulu CMS 2.6.0 release, Sulu Admin got support for OIDC authentication. That means we can finally manage Sulu CMS access via Entra ID.
For traditional non container deployments, Deployer is a value tool to simplify & automate the deployment process of a PHP application. Thanks to its collection of default deployment recipes, Deployer can be used out-of-the-box for deployments.
Adding custom Javascript code to the Sulu Admin UI requires a rebuild of the administration interface frontend application. According to the Sulu docs, running the following command is enough:
bin/adminconsole sulu:admin:update-build
Sadly, this did not work in our ddev setup because ddev ships with a newer version of npm. Due to a breaking change for linked packages, Sulu is not compatible with npm > 6 at the moment.
Sulu CMS is quite flexible out-of-the-box. For example, content properties can be marked as mandatory or optional. By utilizing the jexl syntax, you can even enable or disable properties based on certain conditions.
In the last part of this blog post series we covered how to add custom logic to a Sulu form to send the form data to a 3rd party system. In this blog post, we cover how to do that only for specific forms.
A requirement in one of our Sulu projects was to send the data of a form to Hubspot CRM. Thankfully, the Sulu FormsBundle comes with a few similar examples (e.g. Mailchimp integration), that made it easy to figure out how to deal with this requirement.
For a current task, I needed to add a media reference to a custom Sulu entity. At first, it seemed like an easy task but I had issues getting the media image to render in the list view. Thanks to the fabulous Sulu core team and their Slack community, I quickly got some pointers on how to deal with the issue.