Change Default Controller and Action globally

Hi,

is it possible to change the Default Controller and Action globally?

I have got a Bundle which handles the Default Routing but it is a problem, because the user has to always select the correct Bundle and Action via the backend.

I know that it is harcoded inside of PageSnippet.php, but it would be really great if it could be changed via a configuration.

Best regards Sebastian

I have the same problem. In Pimcore 4 it was possible to set defaults for the controller and action inside system settings. This seems to have vanished from Pimcore 6. It would be very helpful to get that setting back.

cheers.

Hello @Siqu,
I resolved this problem by defining it in the config.yml file as explained by @scrummer in this topic: How to change default controller of printcontainer

cheers.

1 Like