sulu-demo icon indicating copy to clipboard operation
sulu-demo copied to clipboard

[Example] Assign route to custom entity

Open niklasnatter opened this issue 4 years ago • 1 comments

What's in this PR?

This PR demonstrates how to add a route to a custom entity using the route content type and the RouteBundle. This PR builds upon #84.

Screenshot 2020-11-30 at 16 31 54

To apply the changes, the schema of the database needs to be updated by executing bin/console doctrine:schema:update --force.

niklasnatter avatar Nov 27 '20 15:11 niklasnatter

Thank you for this Example! I have encountered one problem for which I have not found a solution yet: When you are in the event editor and click on the button that shows you the URL history, I only get shown the history for the locale that is currently selected in the webspace. I think that behaviour can lead to some confusion for the end user. Does someone know if there is a way to show the history for all locales in the route editor?

joelbeckmann avatar Dec 02 '23 14:12 joelbeckmann