Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
27 Nov 2026

Pull Request for Issue # .

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

This change was created with the help of AI (Claude Code).

Summary of Changes

administrator/components/com_weblinks/tmpl/weblink/ contains sub layouts that are never loaded:

  • edit_params.php, edit_metadata.php: edit.php renders these sections with LayoutHelper::render('joomla.edit.params', …) / 'joomla.edit.metadata'.
  • modal_params.php, modal_metadata.php, modal_associations.php: modal.php calls $this->setLayout('edit') before loadTemplate(), so only edit_* sub layouts are used (edit_associations.php stays).

The files are removed and added to the list of legacy files that the install script deletes on update.

Testing Instructions

  • Edit a weblink in the backend; check the Options, Publishing and Associations tabs.
  • Open a weblink in the association modal (Associations tab → Edit).
  • Update an existing installation and check that the five files are deleted.

Expected result

Both forms work as before; the files are gone after the update.

Actual result

Unused files are shipped.

Documentation Changes Required

None

avatar Hackwar Hackwar - open - 27 Nov 2026

Add a Comment

Login with GitHub to post a comment