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

XF 1.4 Template Modifications


Well-known member
I searched the help page, but couldn't find anything.

What exactly are template modifications? I've never used them, as I don't know how they work.

Chris D

XenForo developer
Staff member
Primarily, template modifications should be used by developers. They are not recommended for general style customisations (they are applied globally to the Master Style rather than individual styles).

Typically, manually editing the templates is better.

At a basic level, Template Modifications work on a find and replace system.


<div class="secondaryContent">
<div class="primaryContent">
They can be very advanced, e.g. using regular expressions and PHP Callbacks, but "String Replacement" as demonstrated above will work for basic tasks.