1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

As Designed [CodeEvent::fire ] Events startup order

Discussion in 'Resolved Bug Reports' started by LEKTOR, Nov 12, 2013.


    LEKTOR Member

    According to a source of function "XenForo_CodeEvent::fire", 7 events that use hint (load_class, controller_pre_dispatch, template_hook, etc..) may have incorrect startup order: events of same event_id (regardless of the setting priority) with empty "Event Hint" are always starts before events with hint specified.

    For example:
    Event="TemplateHook" with hint="page_container_content_title_bar" and order=1 will be executed after Event="TemplateHook" with hint="" and order=1000.
  2. Mike

    Mike XenForo Developer Staff Member

    This is documented on the listener page:

    LEKTOR Member

    Sorry for my inattention.

Share This Page