Add the event manager to the view class

Fire the event "view.compile_content" when starting to compile a template file