THELIA Forum

Welcome to the THELIA support and discusssion forum

Announcement

Rejoignez la communauté sur le Discord Thelia : https://discord.gg/YgwpYEE3y3

Offline


Hello I want to add a custom event subscribed to TheliaEvents

const ADMINISTRATOR_CREATE = "action.createAdministrator";

Is it possible? I have to create a new module? any suggestion?
Could you send me a link to do that

I think we have to add a custom Listener like (Symfony version)

$listener = new AcmeListener();
$dispatcher->addListener('foo.action', array($listener, 'onFooAction'));

Thanks!

Offline


You have to create a module, and write an event listener in this module. You'll find more information in the doc : http://doc.thelia.net/en/documentation/ … -:-actions


OpenStudio Toulouse

Offline


Thanks! I will try it

Best regards