PR-5.4-dev Pending

User tests: Successful: Unsuccessful:

avatar KhushamBansal
KhushamBansal
23 Mar 2026

Pull Request resolves #46898 .

  • 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

Fixed Article Info block not obeying "Hide" settings by using output buffering in the layout to prevent empty wrappers/labels from rendering. Added a new "Hide" option to the info_block_position setting and decoupled Tags so they can show even when the info block is hidden.

Testing Instructions

Hide dates: Global Config → Articles → Set "Show Publish Date" to Hide. Verify it's gone from frontend.
Hide position: Menu Item → Article Options → Set "Info Block Position" to Hide. Verify the entire block is gone.
Tags: Enable Tags and set Position to Hide. Verify Tags still appear while the date/author info stays hidden.

Actual result BEFORE applying this Pull Request

CREATED will not show if specified as such, however neither the PUBLISHED nor LAST UPDATED label will hide; it's always there. This could be different for blog layouts versus individual articles.

Expected result AFTER applying this Pull Request

Hidden items and empty wrappers are completely removed from the HTML. A new "Hide" option successfully suppresses the entire info block while allowing Tags to remain visible.

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 KhushamBansal KhushamBansal - open - 23 Mar 2026
avatar KhushamBansal KhushamBansal - change - 23 Mar 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 23 Mar 2026
Category Administration com_content Front End Layout
avatar brianteeman
brianteeman - comment - 23 Mar 2026

This is not correct and will break existing sites

avatar KhushamBansal KhushamBansal - change - 23 Mar 2026
The description was changed
avatar KhushamBansal KhushamBansal - edited - 23 Mar 2026
avatar KhushamBansal KhushamBansal - change - 23 Mar 2026
The description was changed
avatar KhushamBansal KhushamBansal - edited - 23 Mar 2026
avatar KhushamBansal
KhushamBansal - comment - 23 Mar 2026

@brianteeman
Thanks for the feedback!
Could you please share more details on what specifically might break with this change? I’m still getting familiar with the codebase.

avatar drmenzelit
drmenzelit - comment - 24 Mar 2026

@KhushamBansal can you explain where and when this happens?

CREATED will not show if specified as such, however neither the PUBLISHED nor LAST UPDATED label will hide; it's always there. This could be different for blog layouts versus individual articles.

avatar KhushamBansal KhushamBansal - change - 26 Mar 2026
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2026-03-26 17:51:55
Closed_By KhushamBansal
Labels Added: PR-5.4-dev
avatar KhushamBansal KhushamBansal - close - 26 Mar 2026

Add a Comment

Login with GitHub to post a comment