UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is offline
It is currently off working hours and most of us aren't around

Rest assured that we will get back to you as soon as the day starts tomorrow!
  Support is offline

Disable "Custom Filters" for videos

User · ·
5:47 PM Saturday, 23 March 2019
Low
Hello. Can you please give me some advice?
"Custom Filters" at "All videos" layout depends only on video tags?
So if I don't use in backend "ES > Settings > Videos > Layout > Display Tags: OFF" it will be impossible to create "Custom Filters"?
So I suggest to turn off this "Custom Filters" area in SideBar if tags is turned OFF (or another option).

At the moment there is only one way to hide "Custom Filters"? Make override for /templates/my_joomla_template/html/mod_easysocial_sidebar/videos.php and delete code below?

Thanks,


<?php if ($canCreateFilter && $browseView) { ?>
<hr class="es-hr" />
<div class="es-side-widget" data-section data-type="custom-filters">
<?php echo $this->lib->html('widget.title', 'COM_EASYSOCIAL_CUSTOM_FILTERS'); ?>

<div class="es-side-widget__bd">
<div class="es-side-widget__filter">
<ul class="o-tabs o-tabs--stacked" data-section-lists>
<?php if ($customFilters) { ?>
<?php foreach ($customFilters as $customFilter) { ?>
<li class="o-tabs__item <?php echo $filter == 'customFilter' && $activeCustomFilter && $activeCustomFilter->id == $customFilter->id ? 'active' : '';?>" data-filter-item data-type="hashtag" data-tag-id="<?php echo $customFilter->id ?>">
<a href="/<?php echo $customFilter->permalink; ?>"
title="<?php echo JText::_($customFilter->title); ?>"
class="o-tabs__link"
>
<?php echo '#' . $customFilter->title; ?>
</a>
</li>
<?php } ?>
<?php } ?>
</ul>

<?php if (!$customFilters) { ?>
<div class="t-text--muted">
<?php echo JText::_('COM_EASYSOCIAL_NO_CUSTOM_FILTERS_AVAILABLE'); ?>
</div>
<?php } ?>
</div>
</div>

<a href="/<?php echo $createCustomFilterLink;?>" class="btn btn-es-primary-o btn-block t-lg-mt--xl"
data-video-create-filter
data-type="videos"
data-uid="<?php echo $uid;?>"
data-cluster-type="<?php echo $type;?>"
>
<?php echo JText::_('COM_ES_NEW_FILTER'); ?>
</a>
</div>
<?php } ?>
The replies under this section are restricted to logged in users or users with an active subscription with us