Add option to toggle the snippet admin to a list per snippet type #6773
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added a config toggle to switch between the single snippet list view (current) and a list view per snippet type (with a navigation entry per snippet type in the admin sidebar).
What's in this PR?
A config toggle to switch between the single snippet list view (current) and a list view per snippet type (with a navigation entry per snippet type in the admin sidebar) has been added to the Sulu snippet configuration.
Why?
The single list of snippets becomes a burden when you have a few snippet types with a lot of content, it's easier to manage the snippet types separately.
Example Usage
The default admin view for the snippets is the current single list view. To toggle to the new view (with subnavigation per snippet type) you should have the following in your configuration :
To revert back either remove the admin_view or set it's value to
single_list
.A screenshot of the admin when the new view is active :
To Do