# Create a page override

This article explains you how to override a view in AcyMailing. This is useful when you need to modify the structure of a page. If you simply want to hide some options, **we highly recommend** to use **CSS** or **ACL** instead.

{% hint style="warning" %}
If something isn't working on the overrided page  **after an update**, remove your override and do it again to make it compatible with the new Acy version.
{% endhint %}

{% tabs %}
{% tab title="Joomla" %}
First, locate the view you would like to override in administrator/components/com\_acym/Views/\<TheFolder**WithCapitalLetters**>/tmpl/\<the\_file.php>

As an example we will override the user import page, which is administrator/components/com\_acym/Views/**Users**/tmpl/**import**.php

Copy this file into administrator/templates/your\_template/html/com\_acym/\<thefolder**inlowercase**>/\<the\_file.php>

Our example file will thus be copied to administrator/templates/atum/html/com\_acym/**users**/**import**.php

Once done, you will be able to modify this file to change the way AcyMailing is displayed.

{% hint style="info" %}
For front-end menu pages, the same pattern applies. For example the user profile page would be copied to templates/cassiopeia/html/com\_acym/frontusers/profile.php
{% endhint %}
{% endtab %}

{% tab title="WordPress" %}
To override a view in AcyMailing:

1. create the folder **wp-content / uploads / acymailing / overrides /**
2. Locate the page you want to change, for example the lists listing page would be **wp-content / plugins / acymailing / back / Views / Lists / tmpl / listing.php**
3. Copy this file into **wp-content / uploads / acymailing / overrides / lists / listing.php** then modify it to modify the way AcyMailing looks

Most of the AcyMailing views are split to make it easier to work with, for example the list's edition page has the following files:

![](/files/-MJS3E1wxxhjMhMkGUFp)

There is no need to copy all the files, you can override only one of them if you want.
{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.acymailing.com/developers/create-a-page-override.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
