nadar

Results 227 comments of nadar

Maybe we can have an event listener which is triggered accordingly (whether its register from cache or not): $this->on(self::EVENT_AFTER_REGISTER, function() { // do your stuff });

@boehsermoe onRegister() and onRegisterFromCache() should trigger an event which blocks can register listeneres while initialize (init() method) (example above)

i think $this->trigger(self::EVENT_ON_REGISTER) should do the job, maybe i will find time next week.

The event handling can be achieved by using Component instead of BaseObject for InternalBaseBlock. I think this is just a more wide used behavior when registering hooks (or other things)...

So you want to check ALL data by default? Not a given liste of ids?

@liberosoft How is the frontend menu build? But yes indeed, it won't delete the nested elements.

But those children are only available if you visite the deleted page - and it should not be possible to open the delete page url anymore...

@luyadev/core @luyadev/maintainer So we are going to delete all children items? This has also a very big potential for frustration when you delete a page accidentally 😄

@TheMaaarc @boehsermoe sounds good to me! So we could add a "special second alert" when a page has children.

try ``` "functions": { "api/index.php": { "runtime": "[email protected]" } }, ```