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

XF 2.0 Extend criteria

katsulynx

Well-known member
#1
Which steps are necessary to extend the criteria system? Is it enough to create a template modification and extend the specific \XF\Criteria handler with the related methods or is there more that needs to be done?
 

Mike

XenForo developer
Staff member
#2
A slightly better approach would probably be a template modification and a listener rather than a class extension. You can see this in the RM as an example.