Cyberek wrote:Could You past here proposed solution?
Sure - in activities.index.php replace
- Code: Select all
<?php if($showMoreActivity) { ?>
<div class="cActivity-LoadMore" id="activity-more">
<a class="more-activity-text btn btn-block" href="javascript:void(0);" onclick="joms.activities.more();"><?php echo JText::_('COM_COMMUNITY_MORE');?></a>
<div class="loading"></div>
</div>
<?php } ?>
with
- Code: Select all
<?php
$app = JFactory::getApplication();
$view = $app->input->getCmd('view', '');
?>
<?php if ($view != 'groups'): ?>
<div class="cActivity-LoadMore" id="activity-more">
<a class="more-activity-text btn btn-warning btn-block" href="javascript:void(0);" onclick="joms.activities.more();"><?php echo JText::_('COM_COMMUNITY_MORE');?></a>
<div class="loading"></div>
</div>
<?php endif; ?>
I notice there is an override of the activities.index.php in the /templates/html directory.
Thanks