Template Overrides

Template overrides allow you to customize the output of Joomla components, modules, or layouts without changing core code. They are stored in the template and are update-safe.

  • Function and Purpose

    Overrides copy a component’s or module‘s layout files into your template’s html folder. Joomla then loads the customized file instead of the original. This lets you tailor the output without altering core files.

    Use Cases

    • Customize article views: Change the layout of individual fields in an article.
    • Module layouts: Adjust the layout of lists or forms.
    • Markup and formatting: Add your own classes or structures.

    Important Notes

    • Update safety: Because overrides live in the template, they won’t be overwritten when Joomla is updated.
    • HTML/PHP knowledge: Overrides require basic PHP and HTML skills.
    • Paths: Place overrides in /templates/YourTemplate/html/ and mirror the original structure.

    See also