<!-- if no one likes yet, then show: -->
{JFBCLike show_send_button=false href=<?php echo CRoute::_('index.php?option=com_community&view=profile&userid='.$act->actor.'&act='.$act->id); ?>}
<?php if($allowLike) { ?>
<?php if($act->userLiked!=COMMUNITY_LIKE) { ?>
• <a id="like_id<?php echo $act->id?>" href="#like" onclick="jax.call('community','system,ajaxStreamAddLike', '<?php echo $act->id; ?>');return false;"><?php echo JText::_('COM_COMMUNITY_LIKE');?></a>
<?php } else { ?>
• <a id="like_id<?php echo $act->id?>" href="#unlike" onclick="jax.call('community','system,ajaxStreamUnlike', '<?php echo $act->id; ?>');return false;"><?php echo JText::_('COM_COMMUNITY_UNLIKE');?></a>
<?php } ?>
<?php } ?>
<!-- if no one likes yet, then show: -->
{JFBCLike show_send_button=false href=<?php echo CRoute::_('index.php?option=com_community&view=profile&userid='.$act->actor.'&act='.$act->id); ?>}
{JFBCSend href=<?php echo CRoute::_('index.php?option=com_community&view=profile&userid='.$act->actor); ?>}
<?php if($allowLike) { ?>
<!-- if no one likes yet, then show: -->
{JFBCLike show_send_button=false href=<?php echo CRoute::_('index.php?option=com_community&view=profile&userid='.$act->actor.'&act='.$act->id); ?>}
{JFBCSend href=<?php echo CRoute::_('index.php?option=com_community&view=profile&userid='.$act->actor); ?>}
<?php if($allowLike) { ?>
<?php if($act->userLiked!=COMMUNITY_LIKE) { ?>
• <a id="like_id<?php echo $act->id?>" href="#like" onclick="jax.call('community','system,ajaxStreamAddLike', '<?php echo $act->id; ?>');return false;"><?php echo JText::_('COM_COMMUNITY_LIKE');?></a>
<?php } else { ?>
• <a id="like_id<?php echo $act->id?>" href="#unlike" onclick="jax.call('community','system,ajaxStreamUnlike', '<?php echo $act->id; ?>');return false;"><?php echo JText::_('COM_COMMUNITY_UNLIKE');?></a>
<?php } ?>
<?php } ?>
Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.