PR-5.4-dev Pending

User tests: Successful: Unsuccessful:

avatar newtastic
newtastic
26 Aug 2026

This PR adds a category selection to the Administrator “Create Article” menu item.

Currently, when creating an administrator menu item that links directly to the article creation form, there is no option to define which category should be preselected. The category can only be selected after opening the article form.

With this change, an optional category can be configured directly in the menu item. When the menu item is used, the selected category is automatically preselected in the new article form.

The existing com_content ArticleModel already supports the catid request parameter, so no additional PHP logic is required.

Pull Request resolves # .

  • 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.

Summary of Changes

Adds an optional category selector to the Administrator Create Article menu item.

The selected category is added as the existing catid request parameter when opening the article creation form.

No additional PHP logic is required because the com_content ArticleModel already supports catid and uses it to preselect the category for new articles.

Testing Instructions

Go to System → Menu.
Open an existing Administrator menu or create a new one.
Create a new menu item.
Select Articles → Create Article as the menu item type.
Select a category in the new category field.
Save the menu item.
Use the new menu item in the Administrator menu.
Verify that the article creation form opens with the configured category already selected.

Also test the menu item without selecting a category and verify that the existing behaviour remains unchanged.

Actual result BEFORE applying this Pull Request

The Administrator Create Article menu item does not provide an option to define a category.
When the menu item is opened, the user must manually select the category in the article form.

Expected result AFTER applying this Pull Request

The Administrator Create Article menu item provides an optional category selector.
When a category is configured, opening the menu item preselects this category in the article creation form.
When no category is configured, the existing behaviour remains unchanged.

Link to documentations

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

avatar newtastic newtastic - open - 26 Aug 2026
avatar newtastic newtastic - change - 26 Aug 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 26 Aug 2026
Category Administration com_content
avatar richard67
richard67 - comment - 26 Aug 2026

@newtastic Thanks for your contribution.

To me it seems not to be a bugfix but a new feature, so the PR should be made for the 6.2-dev branch, or maybe even better to the 6.3-dev branch as we will switch that soon. See also here how to chose the right branch for your PR: https://github.com/joomla/joomla-cms#which-branch-should-my-pull-request-target

Could you rebase your PR to 6.3-dev, or if it is easier for you, close this one and make a new one against the 6.3-dev branch?

Thanks in advance.

avatar newtastic newtastic - change - 26 Aug 2026
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2026-08-26 19:35:16
Closed_By newtastic
Labels Added: PR-5.4-dev
avatar newtastic newtastic - close - 26 Aug 2026
avatar richard67
richard67 - comment - 26 Aug 2026

Replacement PR for 6.3-dev is PR #48323 .

Add a Comment

Login with GitHub to post a comment