-
Notifications
You must be signed in to change notification settings - Fork 351
Add navigation context to SuluPageBundle 3.0 #7839
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add navigation context to SuluPageBundle 3.0 #7839
Conversation
packages/page/config/doctrine/Page/PageDimensionContent.orm.xml
Outdated
Show resolved
Hide resolved
packages/page/config/doctrine/Page/PageDimensionContent.orm.xml
Outdated
Show resolved
Hide resolved
packages/page/config/doctrine/Page/PageDimensionContentNavigationContext.orm.xml
Outdated
Show resolved
Hide resolved
packages/page/config/doctrine/Page/PageDimensionContentNavigationContext.orm.xml
Outdated
Show resolved
Hide resolved
<property | ||
name="navigationContexts" | ||
type="page_settings_navigation_select" | ||
colspan="6" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Colspan looks strange as we don't know what the field after it is. Should we wrap this into a section Page Settings
? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thinking about this... webspace should not even be there for pages 😂 we should tackle this in another PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah remove the interface and trait from pages :)
packages/page/config/forms/content_settings_navigation_context.xml
Outdated
Show resolved
Hide resolved
28d8ab5
to
bd77949
Compare
Co-authored-by: Alexander Schranz <alexander@sulu.io>
bd77949
to
4628bf4
Compare
4628bf4
to
1d1d53d
Compare
What's in this PR?
Adds NavigationContexts to pages in the new SuluPageBundle 3.0