Feature PR-6.1-dev Pending

User tests: Successful: Unsuccessful:

avatar Ruud68
Ruud68
11 Nov 2025

Pull Request for Issue # -.

Summary of Changes

In form xml files you can add useglobal="true", this will then extend the field to show the value for the field in the matching component options.

This PR extends the useglobal to not only use the component options but also a plugins options.

This will create the possibility to have the same functionality it had but then for (global) plugin parameters.

This is a POC on the 'text' field to see if there is interest in this change, if so I can further extend it to the other fields that have the useglobal functionality:

  • MailtemplateLayoutField
  • ComponentLayoutField
  • ListField
  • NumberField
  • PluginsField

Testing Instructions

on a formfield you can now have the following useglobal settings:

  • useglobal="true": this will take the configured field value from the component
  • useglobal="plg_system_xyz": this will take the configured value from the plugin with type 'system' and name 'xyz'

Actual result BEFORE applying this Pull Request

The text field would show empty

Expected result AFTER applying this Pull Request

The textfield will show 'Use Global (abc)' where abc is the value of the field in the plugin configuration

Link to documentations

Please select:

avatar Ruud68 Ruud68 - open - 11 Nov 2025
avatar Ruud68 Ruud68 - change - 11 Nov 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 11 Nov 2025
Category Libraries
avatar Ruud68 Ruud68 - change - 11 Nov 2025
Labels Added: Feature PR-6.1-dev
avatar bembelimen bembelimen - change - 16 Nov 2025
Title
Expand useGlobal to also use plugin parameters
[6.1] Expand useGlobal to also use plugin parameters
avatar bembelimen bembelimen - edited - 16 Nov 2025

Add a Comment

Login with GitHub to post a comment