PR-5.4-dev Pending

User tests: Successful: Unsuccessful:

avatar CSGoat0
CSGoat0
11 May 2026

Pull Request resolves #47759

  • 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 the tag feed (RSS) to properly respect the Show Intro Text article parameter when displaying content items.

File changed: components/com_tags/views/tag/FeedView.php

What was changed:

The tag feed previously used only core_body from the UCM content table, which contains only the intro text. Full text after Read More was completely missing from the feed.

The fix:

  1. Detects when a tagged item is a Joomla article (com_content.article)
  2. Pre-fetches fulltext and attribs from the #__content table for all articles in a single optimized query
  3. Parses article parameters from attribs to determine the show_intro setting
  4. Builds the feed description based on:
    • feed_summary (com_content parameter: 0 = intro only, 1 = full text)
    • show_intro (article parameter: 1 = show intro, 0 = hide intro)
  5. Falls back to the global com_content show_intro setting if not set at article level

Testing Instructions

Prerequisites:

  • Joomla 5.4 or later
  • A tag created (e.g., "TestTag")
  • A Tagged Items menu item created for that tag
  • RSS feeds enabled

Step 1: Configure Article Options

  1. Log in to Joomla Administrator
  2. Navigate to Content → Articles → Options
  3. Click the Articles tab
  4. Set Show Intro Text to Hide
  5. Click the Integration tab
  6. Set Include in Feed to Full Text
  7. Click Save & Close

Step 2: Create an article with Read More and assign a tag

  1. Navigate to Content → Articles
  2. Click New
  3. Title: "Tags RSS Feed Test"
  4. In the content area:
    • Type "AA" (intro text)
    • Click the Read More toggle (CMS Content → Read More)
    • After the read more break, type "BB" (full text)
  5. In the Tags field, select a tag (e.g., "TestTag")
  6. Click Save & Close

Step 3: Create a Tagged Items menu item (if not already exists)

  1. Navigate to Menus → Main Menu
  2. Click New
  3. Menu Title: "Tags RSS Feed Test Menu"
  4. Menu Item Type: Click Select → under TagsTagged Items
  5. Tags: Select your test tag (e.g., "TestTag")
  6. Click Save & Close

Step 4: Access the RSS feed

Use the URL of your tagged items menu item with feed parameters:

http://localhost/tags-rss-feed-test-menu?format=feed&type=rss

Or use the direct route:

http://localhost/index.php?option=com_tags&view=tag&id=XX&format=feed&type=rss

Step 5: Observe the feed output

Look at the <description> tag of your article in the feed.

Actual result BEFORE applying this Pull Request

<description><![CDATA[<p>AA</p>]]></description>

Only the intro text (AA) appears. The full text (BB) is completely missing from the feed.

Expected result AFTER applying this Pull Request

<description><![CDATA[<p>BB</p>]]></description>

Only the full text (BB) appears. The intro text (AA) is correctly hidden because Show Intro Text = Hide.

Additional verification

Test with Show Intro Text = Show:

  1. Change Show Intro Text back to Show in Article Options
  2. Access the feed again

Expected result:

<description><![CDATA[<p>AA</p><p>BB</p>]]></description>

Both intro text (AA) and full text (BB) appear.

Performance notes

The fix uses a single optimized query to fetch fulltext and attribs for all articles in the feed, regardless of the number of articles. This avoids N+1 query issues and maintains good performance even with larger feed limits.

Additional Notes

  • Only com_content.article items are affected by this fix
  • Other content types (com_contact, com_newsfeeds, etc.) continue to work as before
  • The fix respects both the article-specific show_intro setting and the global com_content default

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 CSGoat0 CSGoat0 - open - 11 May 2026
avatar CSGoat0 CSGoat0 - change - 11 May 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 11 May 2026
Category com_tags Front End
avatar CSGoat0 CSGoat0 - change - 11 May 2026
Labels Added: PR-5.4-dev
avatar rdeutz
rdeutz - comment - 13 May 2026

Having a query in the view is a no go. We might let it as it is and don't fix this at all.

avatar CSGoat0
CSGoat0 - comment - 13 May 2026

Having a query in the view is a no go. We might let it as it is and don't fix this at all.

I think you are right. It should be at the model, no?
I have fixed it.

Add a Comment

Login with GitHub to post a comment