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 online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

Add a group sidebar filter

Alexandre Cayer · ·
1:19 PM Saturday, 28 March 2015
None
Hi guys,

I'm looking to add a "Paid" filter on the sidebar of the default group layout. See that theme should be:

<li class="filter-item<?php echo $filter == 'paid' && !$activeCategory ? ' active' : '';?>" data-es-groups-filters-type="paid">
<a href="/<?php echo FRoute::groups( array( 'filter' => 'paid' ) );?>" title="<?php echo JText::_( 'COM_EASYSOCIAL_PAGE_TITLE_GROUPS_FILTER_PAID' , true );?>" ><?php echo JText::_( 'COM_EASYSOCIAL_GROUPS_PAID' );?></a>
<span class="es-count-no pull-right" data-total-paid><?php echo $totalPaid;?></span>
</li>

i) Where is the method of this view to set totalPaid? view.html.php?
ii) What do I have to do for the group route (filter) to have it work?
iii) Any other thing I should know (corresponding method to adjust?!) in order to have a new group filter base on my paid group value to work? (beside language token)
The replies under this section are restricted to logged in users or users with an active subscription with us