Fix template component
Add template for type datetime
Rename method with triggerEvent to trigger in Event.php
Small fix