See more activities in stream not appearing on the frontpage

Professional Joomla social template with metro design and JomSocial extension support.
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Oct 17, 2013 6:23 am
Reply with quote
Report this post
I found this on the Jomsocial site as a work around, however, your code for the activities.index.php in the /html directory is quite different.

http://www.jomsocial.com/forum/installa ... e?start=14

Can you offer a solution for your template as Jomsocial won't touch this as they say it is your customisation.

Many thanks.
User avatar
Fresh Boarder

GK User
Thu Oct 17, 2013 4:01 pm
Reply with quote
Report this post
Could You past here proposed solution?
User avatar
Moderator

GK User
Fri Oct 18, 2013 4:35 am
Reply with quote
Report this post
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
User avatar
Fresh Boarder

GK User
Fri Oct 18, 2013 4:00 pm
Reply with quote
Report this post
I have checked my:
/html/com_community/activities.index.php file, and there is exactly this code:
Code: Select all
<?php if($showMoreActivity) { ?>
<div class="cActivity-LoadMore" id="activity-more">
   <a class="more-activity-text button" href="javascript:void(0);" onclick="joms.activities.more();"><?php echo JText::_('COM_COMMUNITY_MORE');?></a>
   <div class="loading"></div>
</div>
<?php } ?>

which You mentioned - You just need to replace it.
User avatar
Moderator


cron