This commit is contained in:
Tuan Pham Ngoc 2021-09-21 12:42:32 +07:00
parent 31e9e2719c
commit 8aa92f906b
2 changed files with 2 additions and 2 deletions

View File

@ -299,7 +299,7 @@
</field>
<field
name="show_cat_num_articles_cat"
name="show_cat_num_links_cat"
type="radio"
label="COM_WEBLINKS_FIELD_CONFIG_CAT_SHOWNUMBERS_LABEL"
layout="joomla.form.field.radio.switcher"

View File

@ -22,7 +22,7 @@ if ($this->maxLevelcat != 0 && count($this->items[$this->parent->id]) > 0) :
<h3 class="page-header item-title">
<a href="<?php echo Route::_(RouteHelper::getCategoryRoute($item->id, $item->language)); ?>">
<?php echo $this->escape($item->title); ?></a>
<?php if ($this->params->get('show_cat_items_cat') == 1) :?>
<?php if ($this->params->get('show_cat_num_links_cat') == 1) :?>
<span class="badge bg-info">
<?php echo Text::_('COM_WEBLINKS_NUM_ITEMS'); ?>&nbsp;
<?php echo $item->numitems; ?>