How to get all tags of articles of specified categories in Joomla?

by GR Vitaly   Last Updated September 11, 2019 16:10 PM

I want to add filter by tags to mixitup in Joomla. Hence, I need list of tags for specified category articles and later for each item add titles of tags for each item.

There was "filtering options" in blog display mode, now I cannot find it. So I have filtering option by categories, but some articles need relation many-to-one, I think Jtags can be used effectively. I didn't find any simular solutions, without preseting tags with dynamic display.

$category = $categories->get($this->category->id); $allCategories = $category->getChildren();

<ul id="filters" class="btn-group">
  <li><a class="filter active btn btn-info" data-filter="all"><?php echo JText::_('TPL_COM_CONTENT_GRID_FILTER_SHOW_ALL'); ?></a></li>
  <?php foreach ($allCategories as $key => $value) : ?>
  <li><a class="filter btn btn-info" data-filter="<?php echo $value->alias; ?>"><?php echo $value->title; ?></a></li>
  <?php endforeach; ?>
</ul>

params->get('show_filter') && count($allCategories)) echo $item->category_alias; ?>"params->get('show_sort')) echo ' data-date="'.JHtml::_('date', $this->item->publish_up, 'YmdHis').'" data-name="'.$this->item->title.'" data-popularity="'.$this->item->hits.'"'; ?>>

So when you click a tag jquery.mixitup will hide unwanted items.



Related Questions


Assign cloud tags results page layout

Updated March 17, 2017 16:10 PM



RSS Feed for TAGS with invalid content URLS

Updated December 18, 2017 12:10 PM

Modify Joomla Tags Result Page

Updated March 27, 2015 14:19 PM