Skip to content

evoYTLock: settings

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 doesSettingDefault
User groups whose members can only edit content in the builder. Direct membership counts. Super users are never locked.Locked groupsNone (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 stylesReject 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 itemsNo
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 pageNo
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.Log blocked attemptsYes
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 IPNo

When they try to change styles

OptionEffect
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 warningThe 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).

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

“What counts as content” tab

What it doesSettingDefault
One per line. Anything not listed here counts as style and cannot be changed.Editable content propertiescontent, 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 typeshtml, module, module_position
One type per line. Types whose name ends in _item already count as items.Other types that count as itemEmpty

Valid forms in “Editable content properties”

LineMeaning
propertyEditable in all element types.
type:propertyEditable only in that type. For example, button:link.
-propertyNo longer editable in any type.
-type:propertyNo 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.

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.

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.