By HMED on Thursday, 14 December 2017
Posted in General
Replies 1
Likes 0
Views 245
Votes 0
Hello,

Thanks for adding the "ask question" button in groups,

How we can move this link and put it as button beside the share and '....' buttons and show it as button too ?
people dont know about this important button and we would like to have it more visible as in regular ED pages.

i guess i'll need to edit groups template ? can you advise please ?

thanks guys !
Hi there,

Currently, it is not possible for you to achieve this as it will required heavy modifications. But here i listed which files that is responsible for those views.

Group cover:
/Applications/AMPPS/www/easydiscuss.com/components/com_easysocial/themes/wireframe/helpers/cover/group.php


Dropdown sections on groups covers:
[gist type="php"]

<?php if ($group->canAccessActionMenu() || $group->isMember()) { ?>
<div class="btn-group" role="group">

<button data-type="button" class="dropdown-toggle_ btn btn-es-default-o btn-sm" data-bs-toggle="dropdown">
<i class="fa fa-ellipsis-h"></i>
</button>

<ul class="dropdown-menu dropdown-menu-right">
<?php if ($group->canInvite()) { ?>
<li>
<a href="javascript:void(0);" data-es-groups-invite data-id="<?php echo $group->id;?>"><?php echo JText::_('COM_EASYSOCIAL_GROUPS_INVITE_FRIENDS');?></a>
</li>

<?php if ($group->canAccessActionMenu()) { ?>
<li class="divider"></li>
<?php } ?>
<?php } ?>

<?php echo $this->html('group.report', $group); ?>

<?php echo $this->html('group.adminActions', $group); ?>
</ul>
</div>
<?php } ?>
[/gist]

Easydiscuss apps(funcitons and files):
/Applications/AMPPS/www/easydiscuss.com/media/com_easysocial/apps/group/easydiscuss/widgets/groups/view.html.php
/Applications/AMPPS/www/easydiscuss.com/media/com_easysocial/apps/group/easydiscuss/themes/default/widgets/widget.menu.php


Thanks for you understanding.
·
Thursday, 14 December 2017 18:28
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post