XF 2.0 Extend criteria

Lukas W.

Formerly katsulynx
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?


XenForo developer
Staff member
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.