Events in 5.5.1 needs the define.
Permalink 3 users found helpful
Just in case someone else runs into this:
I was following the events documentation and couldn't get my event to work. It only worked _after_ adding `define('ENABLE_APPLICATION_EVENTS', true);` to site.php. The documentation for events states `*NOTE: the above code is only need for concrete5 versions less than 5.4`. I'm using v5.5.1 so I didn't add the define per the docs. I decided to add the define after fighting with it for a bit.
I was following the events documentation and couldn't get my event to work. It only worked _after_ adding `define('ENABLE_APPLICATION_EVENTS', true);` to site.php. The documentation for events states `*NOTE: the above code is only need for concrete5 versions less than 5.4`. I'm using v5.5.1 so I didn't add the define per the docs. I decided to add the define after fighting with it for a bit.
It would save many from coding frustration if the documentation was a bit more precise on the topic.