Actions
Feature #92507
closedAllow for more control over the "newContentUrl" in the backend
Start date:
2020-10-07
Due date:
% Done:
0%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
In the page module, when clicking one of the "+ Content" buttons, you will usually get a modal with the new content element wizard, listing all available content elements.
At the moment, there are some ways to override this behaviour- You can apply "*mod.web_layout.disableNewContentElementWizard = 1*" to completely disable the wizard globally
- You can use you own content element wizard by applying an override with "*mod.newContentElementWizard.override = my_custom_module*". This will create a custom route to a custom, but this wizard will always be shown in a modal.
- Usually you will have multiple content columns in your backend layout. Some of those content columns only allow only specific content elements. In case of a "header column" you'll probably allow only one single "Header" content element. The wizard modal is unnecessary in this case, it would be better to disable the content element wizard in this case and directly go to the edit page. But ATM this can only be disabled globally.
- Similar cases can occur when using gridelements or a similar container extension: Imagine you created a container element, that by design only allows for a single content element type inside the container. In this case I also want to be able to skip the wizard modal.
Actions