XF 2.2 Detect Template Modifications that don't work anymore

TiKu

Member
After an update of xenForo some template modifications did not work anymore, because the template code that they searched for has been changed by the update and therefore the condition for applying the template modification has not been fulfilled anymore. Such things sometimes are a bit difficult to detect, because sometimes it is only a small detail of an add-on that stops working because of this.
A tool for admins that can list all template modifications that won't be applied would be helpful.
 
Solution
You can check that on the template modifications page in the ACP.

1604262910719.png

The values there indicate whether the template modification is being applied and to how many styles.

The 3 values indicate the number of times the modification matched (green), the number of times the modification failed to match (grey) and the number of times the modification caused an error (red).

Click on one and you see this:

1604262957949.png

Brogan

XenForo moderator
Staff member
You can check that on the template modifications page in the ACP.

1604262910719.png

The values there indicate whether the template modification is being applied and to how many styles.

The 3 values indicate the number of times the modification matched (green), the number of times the modification failed to match (grey) and the number of times the modification caused an error (red).

Click on one and you see this:

1604262957949.png
 
Solution
Top