Skip to content

Trying to add templates for custom entity #7062

Discussion options

You must be logged in to vote

You can normally easy downgrade the doctrine/annotations package by and install SuluArticleBundle via:

composer require sulu/article-bundle --no-update
composer update

Alternative to the SuluArticleBundle is a community project here by @TheCadien:

https://github.com/TheCadien/SuluNewsBundle

Adding template behaviour to any FormView in Sulu is done via an own structure configuration:

https://github.com/sulu/SuluContentBundle/blob/b5c3eeb2e6875437b81febcd8583e9c1400aacaf/Tests/Application/ExampleTestBundle/DependencyInjection/ExampleTestExtension.php#L33-L41

And a type switcher toolbar action: https://github.com/sulu/SuluContentBundle/blob/b5c3eeb2e6875437b81febcd8583e9c1400aacaf/Content/In…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@alexander-schranz
Comment options

Answer selected by AliciaLevasseur
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants