YOOtheme Pro
The YOOtheme Pro add-on controls the YOOtheme 5 builder: pages, templates, builder modules, footer, styles, library and backups. It requires YOOtheme Pro 5 to be installed and active; otherwise, its tools remain hidden.
The permissions are those of YOOtheme Pro itself. Pages require core.edit — or core.edit.own for the user's own articles — on the relevant article (core.create on the category to create one, core.edit.state to create it published); templates, settings, footer, snapshots, library and mega menu require core.edit on com_templates, the permission that opens the Customizer; builder modules require core.edit on the module. Reading tools require this same Customizer permission, or read access to the article for get_yootheme_page. A simple Administrator can therefore manage YOOtheme without being a Super User. Every write is preceded by a snapshot, and destructive actions require confirmation.
Builder pages
Read and write an article's builder layout, including dynamic field bindings.
| Tool | Function | Required permissions (ACL) |
|---|---|---|
get_yootheme_page | Read a builder page | None (read access) |
set_yootheme_page | Write a builder page | core.edit (or core.edit.own) on the article |
create_yootheme_page | Create a builder page | core.create on the category (core.edit.state to publish it) |
set_yootheme_field_binding | Bind an element to a field (source) | depending on the target: core.edit (or core.edit.own) on the article, or core.edit on com_templates for a template |
set_yootheme_repeatable_source | Repeatable source (collection / subform) | depending on the target: core.edit (or core.edit.own) on the article, or core.edit on com_templates for a template |
set_yootheme_composed_binding | Composed binding (if / else) | depending on the target: core.edit (or core.edit.own) on the article, or core.edit on com_templates for a template |
set_yootheme_visibility_condition | Visibility conditions (Essentials) | depending on the target: core.edit (or core.edit.own) on the article, or core.edit on com_templates for a template |
Modify a section or element
For a local edit — changing some text, switching a section to Primary style, replacing, moving or deleting a section or element — the assistant does not need to reread or resend the entire layout. It first retrieves a lightweight outline of the target (each section, row, column and element with its path, type, label and content preview), then acts only on the node concerned. The rest of the layout remains untouched, making this faster and safer on large pages.
The target can be a builder page, a template, a builder module (YOOtheme Builder) or a style's footer (Customizer > Layout > Footer, the default style if none is specified). An element can also be moved from one to another: from a page to the footer, from a module to a template, and so on.
Every change is checked before writing: if the layout has changed since it was read, the operation is rejected and the assistant rereads the outline; the YOOtheme structure (section > row > column > element) is validated. As with other writes, the previous version of a page is kept in Joomla's article history, and a snapshot is taken before any template or footer modification (restored with restore_yootheme_snapshot or restore_yootheme_style_snapshot).
| Tool | Function | Required permissions (ACL) |
|---|---|---|
get_yootheme_outline | Lightweight outline of a page, template, builder module or footer | Read access: readable article, or core.edit on com_templates (template, footer) or on the module |
get_yootheme_node | Read a section or element | Read access: readable article, or core.edit on com_templates (template, footer) or on the module |
update_yootheme_node | Modify the settings of a section or element | depending on the target: core.edit (or core.edit.own) on the article, core.edit on com_templates for a template or the footer, core.edit on the module |
replace_yootheme_node | Replace a section or element | depending on the target (as above) |
insert_yootheme_node | Insert a section or element at a specific location | depending on the target (as above) |
delete_yootheme_node | Delete a section or element | depending on the target (as above) |
move_yootheme_node | Move a section or element, including to another page, template, builder module or footer | write permissions on both the source and the destination |
Builder modules
Modules of type YOOtheme Builder have their own layout. The assistant can list them, read their content and rewrite it in full; for an edit, it uses the node tools above. Setting values are checked as they are for pages, and every write is verified by rereading the module. The module's other settings (position, display pages, publication status) are managed with the Modules add-on.
| Tool | Function | Required permissions (ACL) |
|---|---|---|
list_yootheme_builder_modules | List builder modules | core.edit on com_modules |
get_yootheme_module_layout | Read a builder module's layout | core.edit on the module |
set_yootheme_module_layout | Replace a builder module's layout (confirmation required) | core.edit on the module |
Templates & styles
Manage layout templates and styles.
| Tool | Function | Required permissions (ACL) |
|---|---|---|
list_yootheme_templates | List templates | None (read access) |
get_yootheme_template | Read a template | None (read access) |
create_yootheme_template | Create a template | core.create on com_templates |
clone_yootheme_template | Duplicate a template | core.create on com_templates |
update_yootheme_template | Modify a template | core.edit on com_templates |
delete_yootheme_template | Delete a template | core.delete on com_templates |
reorder_yootheme_templates | Reorder templates | core.edit.state on com_templates |
list_yootheme_styles | List styles | None (read access) |
Library & backups
Two separate libraries are available. The YOOtheme library contains layouts and elements provided by YOOtheme, which can be filtered by theme, type or source site: the assistant can browse it, inspect a layout and import it into a page or template before adapting it to your content. Your personal library (“ My Layouts ”) contains the elements, sections and layouts you have saved: the assistant can add whatever it has just built and reinsert any saved element into a page or template.
| Tool | Function | Required permissions (ACL) |
|---|---|---|
list_yootheme_library | Browse the YOOtheme library | None (read access) |
get_yootheme_library_item | Inspect a library layout | None (read access) |
import_yootheme_library_item | Import a library element | core.edit on com_templates |
list_yootheme_saved | List your personal library | None (read access) |
get_yootheme_saved | Read a saved element | None (read access) |
save_yootheme_saved | Save an element | core.edit on com_templates |
insert_yootheme_saved | Reinsert a saved element | depending on the target: the article or com_templates |
delete_yootheme_saved | Delete a saved element | core.edit on com_templates |
Settings & snapshots
Adjust YOOtheme settings and restore an earlier version. The footer built with the builder (Layout > Footer) is part of the style settings; to edit it, the assistant uses the node tools described above.
| Tool | Function | Required permissions (ACL) |
|---|---|---|
get_yootheme_settings | Read a style's settings | core.edit on com_templates |
set_yootheme_settings | Write a style's settings | core.edit on com_templates |
list_yootheme_snapshots | List template snapshots | core.edit on com_templates |
restore_yootheme_snapshot | Restore a template snapshot | core.edit on com_templates |
list_yootheme_style_snapshots | List style snapshots | core.edit on com_templates |
restore_yootheme_style_snapshot | Restore a style snapshot | core.edit on com_templates |
What you need to know
Reproducing an existing page. If the page is on your site, the assistant reads its layout (sections, grids, elements and settings) and recreates or clones it in a new page or template. If the page is external, the assistant retrieves it from the web, analyses its structure and text, then rebuilds an equivalent page using the builder's standard elements: sections, columns, headings, text, images, buttons and cards. The text is retained; images must be uploaded to the media library. This is not a pixel-perfect import but a reconstruction: the result is a clean page that can then be edited in the Customizer, rather than a fixed HTML block.
Adopting a site's style. A YOOtheme style is a set of design tokens (LESS variables: colours, typography, spacing and buttons) and header, navbar and footer settings. The assistant can analyse a reference site and apply its colour palette, fonts and header style to your active style through the less and custom_less sections of the settings, with an automatic snapshot so you can revert the changes. It does not save the result as a new named entry in YOOtheme's Styles panel: that step takes two clicks in the Customizer.
Security. Every write is preceded by a snapshot, and destructive actions require confirmation. The required permissions are those used by YOOtheme — article permissions for pages, com_templates (Customizer permission) for templates, settings, the footer and the library, and module permissions for builder modules — so an Administrator is sufficient; a Super User account is not required (see Security & permissions).
Prompt examples
“Import the ‘Hero’ template from the library and apply it to the home page.”
“Link this section's heading to the article's ‘name’ field.”
“Look at this page and reproduce its layout and content in a new page.”
“Find an e-commerce layout in the YOOtheme library, import it into the Shop page and replace the text with the following.”
“On the home page, change the ‘Our services’ section to the Primary style.”
“Move the ‘Testimonials’ section from the Home page to the end of the About page.”
“In the footer, update the copyright year and add a link to the legal notice.”
“In the ‘FR login button’ builder module, replace the button text with ‘Log in’.”
“Save this section to my library under the name ‘Promo banner’.”
“Apply this site's colour palette and fonts to my active style.”