Feature No Code Attached Yet
avatar BrainforgeUK
BrainforgeUK
21 Sep 2023

Is your feature request related to a problem? Please describe.

When creating a plugin I cannot populate JPATH_ROOT/layouts/plugins/myplugin/... by using a tag in the manifest like I do with media files.

Would prefer not to achieve this using the scriptfile tag.

Describe the solution you'd like

In installer.php add function parseLayouts(\SimpleXMLElement $element, $cid = 0) which will work in the same manner as parseMedia(...).

Calls to this function will then need to be added to the parseOptionalTags() function in each of the relevant adapters.

Additional context

Using layouts/plugins in this way is consistent with how com_templates manages layout overrides.

avatar BrainforgeUK BrainforgeUK - open - 21 Sep 2023
avatar joomla-cms-bot joomla-cms-bot - change - 21 Sep 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 21 Sep 2023
avatar richard67 richard67 - change - 21 Sep 2023
Labels Added: Feature
avatar richard67 richard67 - labeled - 21 Sep 2023

Add a Comment

Login with GitHub to post a comment