No Code Attached Yet
avatar saraheagle
saraheagle
23 Nov 2022

Steps to reproduce the issue

Create a Menu Item Type >> Featured Articles.
In options Intro text >> set to hide

Expected result

Intro text does not show on page

Actual result

Intro text does show

System information (as much as possible)

J ‎4.2.5

Additional comments

components/com_content/tmpl/featured/default_item.php
line 86

item->introtext; ?>

should become something like

get('show_intro')) : ?>
<?php echo $this->item->introtext; ?>

Thanks
S :)

avatar saraheagle saraheagle - open - 23 Nov 2022
avatar saraheagle saraheagle - change - 23 Nov 2022
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 23 Nov 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 23 Nov 2022
avatar brianteeman
brianteeman - comment - 28 Nov 2022

The code is working as intended. When it says "show intro text" it refers to the full article.

For example you have a movie review website. the intro text is a precis of the review that you only want to display on the featured or blog pages but not on the individual article page that you access after clicking on read more

avatar saraheagle saraheagle - close - 29 Nov 2022
avatar saraheagle
saraheagle - comment - 29 Nov 2022

Oh of course it is! Thanks for your reply.

avatar saraheagle saraheagle - change - 29 Nov 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-11-29 11:20:59
Closed_By saraheagle

Add a Comment

Login with GitHub to post a comment