# evoYTLock: settings

> Every evoYTLock setting as it appears in the plugin: locked groups, what to do on style changes, what counts as content, repeated items and the log.

The settings are under *System → Plugins → System - evoYTLock*. There are three tabs: the first one with the general settings, **What counts as content** and **License**. The defaults are the restrictive ones: anything that is not recognised falls back to the safe value.

## General settings

| What it does | Setting | Default |
| --- | --- | --- |
| User groups whose members can only edit content in the builder. Direct membership counts. Super users are never locked. | Locked groups | None (locks nobody) |
| What happens if a locked user changes styles or settings. Structure is always rejected. See the table below. | When they try to change styles | Reject the save and warn (recommended) |
| Allows adding, removing and reordering children of type *item* (list entries, slides, accordions…). New ones only keep the content properties. | Allow adding and removing repeated items | No |
| When off, a locked user cannot give a layout to a page that has none or take it away from one that has. | Allow creating or removing the layout of a page | No |
| Writes every reverted or rejected change to the Joomla log (category `evoytlock`): the element path and the kind of violation, no user and no content. See [data it handles](https://evoaddons.com/en/documentation/evoytlock-data). | Log blocked attempts | Yes |
| Adds the IP of whoever attempted the change to every log line. It is personal data: leave it off unless you need it and can justify it. Retention is set by the Joomla log management of the site. Only shown if “Log blocked attempts” is on. | Also log the client IP | No |

### When they try to change styles

| Option | Effect |
| --- | --- |
| Reject the save and warn (recommended) | Nothing is saved. The user sees how many changes are not allowed, the names of up to five properties and what to do. |
| Go back to the saved values without warning | The changed styles go back to their saved value, the rest of the edit is saved and the user gets no warning. It is only noted in the log, if you have it on. |

Choosing the second one is a conscious decision: the user may believe their style changes were saved. It makes sense if YOOtheme updates normalise properties often and the warning of the default mode becomes a nuisance (see the [FAQ](https://evoaddons.com/en/documentation/evoytlock-faq)).

Structure changes (adding, removing or moving elements) are rejected in both modes.

## “What counts as content” tab

| What it does | Setting | Default |
| --- | --- | --- |
| One per line. Anything not listed here counts as style and cannot be changed. | Editable content properties | `content`, `title`, `meta`, `image`, `image_alt`, `link`, `link_text`, `text`, `video`, `caption`, `label`, `alt` |
| One element type per line. Their content is not editable (it may hold scripts or embed other parts of the site) unless you allow it with `type:property`. | Read-only types | `html`, `module`, `module_position` |
| One type per line. Types whose name ends in `_item` already count as items. | Other types that count as item | Empty |

### Valid forms in “Editable content properties”

| Line | Meaning |
| --- | --- |
| `property` | Editable in all element types. |
| `type:property` | Editable only in that type. For example, `button:link`. |
| `-property` | No longer editable in any type. |
| `-type:property` | No longer editable in that type. |

Per-type rules (`type:property` and `-type:property`) win over the general ones and over the read-only types. Lines that do not have one of these forms are dropped on save. Property and type names accept letters, digits and underscores.

Example: to let the user change a button’s link but not the links of other elements:

```
-link
button:link
```

Example: to open the content of an HTML element (only if you control what can be typed into it):

```
html:content
```

## “License” tab

It shows the licence status and has no field for typing the key: the Download ID is pasted in *System → Update Sites*. See [installation](https://evoaddons.com/en/documentation/evoytlock-install).

## Free zone

The free-zone mark is not in the plugin settings. It is a property of the element (`evoytlock_zone`) set on the element’s **Lock** tab. See [first steps](https://evoaddons.com/en/documentation/evoytlock-first-steps).

## Change the settings with evoMCP

If you have evoMCP, `evoytlock_get_settings` reads the settings and `evoytlock_set_settings` changes them. The write tool requires human approval and supports `dry_run`. See the [reference](https://evoaddons.com/en/documentation/evoytlock-reference).

---

https://evoaddons.com/en/documentation/evoytlock-settings
