Modify dashboard

you cannot override a controller.

a controller is called through a template. so if you wish to change which controller is called, you would need to override the template calling it.

this is not a controller. ive never tried, so, i do not know. I would say probably.

edit: i took a quick peak, and i do believe it can be overriden. something like the below should do it.

$this->container['dashboardPagination'] = $this->container->factory(function ($c) {
            return new NewDashboardPagination($c);
        });

where NewDashboardPagination is your new pagination class, that you intend to replace it with

1 Like

Hey creecros, thank you for your fast reply on this topic! I will give this a try and report later, if it works! (=

So I came up with something. I made it public in a new thread here (there’s the github link as well):