XF 2.0 Extend criteria

Lukas W.

Formerly katsulynx
#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.
 
Top