User tests: Successful: Unsuccessful:
Pull Request resolves # .
Adds a custom field type Article for linking a Joomla article to any item that supports custom fields.
In the edit form it shows the familiar article selection modal, optionally with buttons to create a new article or edit the linked one in place. On the front end it renders the linked article's title as a link.
Two things are still open by design and needs a descision - feedback and suggestions welcome:
Display Options
| Parameter | Options | Default |
|---|---|---|
| Show Archived | Yes / No | Yes |
| Show Unauthorised Links | Use Global / Use Article Settings / Yes / No | Use Global |
General
| Parameter | Options | Default |
|---|---|---|
| Allow Creating Articles | Yes / No | Yes |
| Allow Editing Articles | Yes / No | Yes |
| Default Article | — | empty |
The two picker toggles only restrict further, they do not grant anything a user lacks permission for.
Setup
Fields - Article, make sure it is Enabled.Article, give it a title (e.g. "Related Article"), click Save & Close.Expected: The linked article's title appears as a link. Clicking it opens the linked article.
Expected: The field is already pre-filled with the default article.
Clear the default again afterwards, otherwise later tests start pre-filled.
Expected: The New button is gone; Select and Clear remain.
Expected: The Edit button is gone.
Expected: Both buttons are back.
Expected: The link still appears (default is Show Archived: Yes).
Expected: The field is now empty — nothing is rendered.
Expected: The link still appears, with a yellow Unpublished badge next to it.
Expected: The field renders nothing at all — no title, no badge.
Also worth testing: set article B's Finish Publishing date to yesterday, or Start
Publishing to tomorrow. It should behave exactly like unpublished — badge for editors, invisible
for visitors.
Expected: The field renders nothing in both cases — trashed articles are hidden from
everyone, including administrators. This is intentional and differs from unpublished.
Expected: The field renders nothing, the title is not revealed.
Expected: Now the title appears, but the link goes to the login page. After logging in with an
account that has access, you land on article B.
Expected: Same as step 3 — the article's own setting now decides.
Expected: The Edit button is disabled, with a note explaining the article is checked out by another user.
Expected: The field renders nothing, permissions are checked against the linked article.
Expected: The page loads normally and the field renders nothing. There should be no error
message and no broken page.
No Article Custom Field
See testing instructions.
For anything unexpected, it helps to note: were you logged in or not, what status and access level the
linked article had, and which field parameters were set.
Please select:
Documentation link for guide.joomla.org:
No documentation changes for guide.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
| Status | New | ⇒ | Pending |
| Category | ⇒ | SQL Administration com_admin Postgresql Language & Strings Libraries Front End Plugins |
| Labels |
Added:
Language Change
PR-6.3-dev
|
||
| Title |
|
||||||
installation sql are missing
amd also an entry here
joomla-cms/libraries/src/Extension/ExtensionHelper.php
Lines 216 to 234 in 993ba67
| Labels |
Added:
Feature
|
||
first impression is that it works as intended. No idea about your multilingual question