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

Change position of CodeEvent inside XenForo_ViewRenderer_HtmlPublic -> _getNoticesContainerParams

Discussion in 'XenForo Suggestions' started by Rob, Jul 21, 2015.

  1. Rob

    Rob Well-Known Member

    Inside XenForo_ViewRenderer_HtmlPublic, within the _getNoticesContainerParams function, could the XenForo_CodeEvent::fire('notices_prepare') be moved to the end?

    In this way, developers can add fields to notices without extending such a large class/function.
     
    Xon and W1zzard like this.
  2. silence

    silence Well-Known Member

    Yeah this would be simple to do and make the notice listener more useful :)
     

Share This Page