Skip to content

Commit

Permalink
Hide Intro Text not working - blog_item.php
Browse files Browse the repository at this point in the history
In current stable J! version (4.03) the option to hide **Intro Text** is not working on blog views. **Intro Text** is displayed always regardless of settings.
  • Loading branch information
DelPoint committed Oct 20, 2021
1 parent 19cf866 commit fc947d5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/com_content/tmpl/category/blog_item.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@
<?php // Content is generated by content plugin event "onContentBeforeDisplay" ?>
<?php echo $this->item->event->beforeDisplayContent; ?>

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

<?php if ($info == 1 || $info == 2) : ?>
<?php if ($useDefList) : ?>
Expand Down

0 comments on commit fc947d5

Please sign in to comment.