Skip to main content

14 posts tagged with "Sulu"

View All Tags

Deploying Sulu CMS with Deployer

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· 2 min read
Stephan Hochdörfer
Head of IT Business Operations

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.

DDEV downgrade npm for Sulu CMS

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· 2 min read
Stephan Hochdörfer
Head of IT Business Operations

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.

Adding a media reference to a Sulu entity

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· 4 min read
Stephan Hochdörfer
Head of IT Business Operations

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.

Adding an entity reference to a Sulu entity

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· 3 min read
Stephan Hochdörfer
Head of IT Business Operations

Let's assume you have a sulu entity App\Entity\MyEntity defined and you want to add a reference to this other entity App\Entity\OtherEntity to it. Follow this blog post along to find out which steps you have to take.