UPDATES EasyBlog 6.0.11 Released! Update to the latest version 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

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