By Mark Klinkhammer on Wednesday, 08 February 2017
Posted in General
Replies 3
Likes 0
Views 150
Votes 0
When I create as GROUP I want to be able to EDIT THE SIDEBAR MENU.... See Pic Attached for Details.

1) I want to delete "NEWS FEED", "CUSTOM FILTERS", "MEMBERS" & "RECENT VIDEOS"

2) I need to EDIT the APPLICATIONS Menu Item for this GROUP

3) I need to be able to Create New MODULE POSITIONS for Each of my GROUPS in the Sidebar Menu.

Thanks for the help.

Mark
Hi Mark,

Kindly find my response for your inquiries below:
1) I want to delete "NEWS FEED", "CUSTOM FILTERS", "MEMBERS" & "RECENT VIDEOS"

To hide the recent videos and members you can simply disable it in the group applications setting:
**videos>widget>disable Display Widget In Profile: https://www.screencast.com/t/Gc3Y1b8YOM
**members(group)>widget>disable shows members: https://www.screencast.com/t/qeQ6iFNR

to hide the 'news feed' and 'custom filter' you can customize it in the file:
JoomlaFolder/components/com_easysocial/themes/wireframe/groups/item/default.php
by comment out the code:


<div class="es-side-widget">
<?php echo $this->html('widget.title', 'COM_EASYSOCIAL_NEWS_FEED'); ?>

<div class="es-side-widget__bd">
<ul class="o-tabs o-tabs--stacked">
<li class="o-tabs__item <?php echo empty($contents) && empty($context) && empty($filterId) && ($type != 'moderation' && $type != 'hashtag') ? 'active' : '';?>" data-filter-item="feeds" data-type="feeds" data-id="<?php echo $group->id; ?>" data-stream-identifier="<?php echo $stream->getIdentifier(); ?>">
<a href="<?php echo ESR::groups(array('layout' => 'item', 'id' => $group->getAlias(), 'type' => 'timeline')); ?>" class="o-tabs__link">
<?php echo JText::_('COM_EASYSOCIAL_GROUP_TIMELINE'); ?>
<div class="label label-notification pull-right mr-20" data-counter>0</div>
</a>
</li>


<?php if (($group->isAdmin() || $group->isOwner() || $this->my->isSiteAdmin()) && $showPendingPostFilter) { ?>
<li class="o-tabs__item <?php echo $type == 'moderation' ? ' active' : '';?> <?php echo $totalPendingPost ? 'has-notice' : '' ?>" data-filter-item="moderation" data-type="moderation">
<a href="<?php echo ESR::groups(array('layout' => 'item', 'id' => $group->getAlias(), 'type' => 'moderation'));?>" class="o-tabs__link">
<?php echo JText::_('COM_EASYSOCIAL_GROUP_SIDEBAR_PENDING_POSTS'); ?>
<div class="o-tabs__bubble" data-counter><?php echo $totalPendingPost; ?></div>
</a>
</li>
<?php } ?>

<?php if (isset($hashtag) && $hashtag) { ?>
<li class="o-tabs__item active" style="display:none;" data-filter-item="hashtag" data-type="hashtag" data-tag="<?php echo $hashtag ?>" data-id="<?php echo $group->id; ?>" data-stream-identifier="<?php echo $stream->getIdentifier(); ?>">
<div class="o-loader o-loader--sm"></div>
</li>
<?php } ?>

</ul>
</div>
</div>

and


<div class="es-side-widget" data-section data-type="custom-filters">
<?php echo $this->html('widget.title', 'COM_EASYSOCIAL_CUSTOM_FILTERS'); ?>

<div class="es-side-widget__bd">
<div class="es-side-widget__filter">
<ul class="o-tabs o-tabs--stacked" data-section-lists>
<?php if ($filters && count($filters) > 0) { ?>

<?php foreach ($filters as $filter) { ?>
<li class="o-tabs__item <?php echo $filterId == $filter->id ? ' active' : '';?>" class="o-tabs__item" data-filter-item="filters" data-type="filters" data-id="<?php echo $filter->id; ?>" data-stream-identifier="<?php echo $stream->getIdentifier(); ?>">
<a href="<?php echo ESR::groups(array('layout' => 'item', 'id' => $group->getAlias(), 'filterId' => $filter->getAlias()));?>" class="o-tabs__link">
<?php echo $filter->_('title'); ?>
</a>
</li>
<?php } ?>
<?php } ?>
</ul>
<?php if (!$filters) { ?>
<div class="t-text--muted" data-filter-empty>
<?php echo JText::_('COM_EASYSOCIAL_NO_CUSTOM_FILTERS_AVAILABLE'); ?>
</div>
<?php } ?>
<?php if ($group->canCreateStreamFilter()) { ?>
<a href="<?php echo ESR::groups(array('layout' => 'item', 'id' => $group->getAlias(), 'type' => 'filterForm')); ?>" class="btn btn-es-default btn-xs t-lg-mt--lg" data-create-filter>
<div class="o-loader o-loader--sm"></div>
+ <?php echo JText::_('COM_EASYSOCIAL_DASHBOARD_FEED_ADD_FILTER'); ?>
</a>
<?php } ?>
</div>
</div>
</div>


perhaps, can you download the attached file and replace it and see how it goes?



2) I need to EDIT the APPLICATIONS Menu Item for this GROUP
-> You can edit the applications in the backend setting:
1. Click Applications>filter by group: https://www.screencast.com/t/GUuG9j7j

3) I need to be able to Create New MODULE POSITIONS for Each of my GROUPS in the Sidebar Menu.
-> Unfortunately there is no setting to create new module position apart from the stated in the documentation here: https://stackideas.com/docs/easysocial/administrators/module-positions/group-page-position
It is a bit difficult for us to help you.
However, you can try customize in this file:
JoomlaFolder/components/com_easysocial/themes/wireframe/groups/item/default.php
Having said that, if you require us to perform the customization for you, you can always request for a quote from us at https://crm.stackideas.com and select "Customizations" . Our sales person would be glad to send you a quote for the customizations that you have requested.
·
Wednesday, 08 February 2017 13:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Everything worked great. Thanks.

Regarding the MODULE POSITIONS in Individual Group. This issue was resolved in Mark's post below:

https://stackideas.com/forums/publish-module-into-a-single-group

I can not say that I fully understand it... but it might be good information to start with.

Let me know if this is helpful or applicable. I need to set all my groups up before this is even necessary.

Thanks
Mark
·
Thursday, 09 February 2017 07:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Mark,

Based on what i understand my colleague Mark is customised for him instead of fix into Easysocial core file is because he also want to show a module in specific Easysocial group page.

I am really sorry but our hands are pretty tied down now on our own internal development works and we would not be able to accept customisation requests currently

But you can try follow my colleague Mark solution and put the code into your module php file.
https://stackideas.com/forums/publish-module-into-a-single-group#reply-284398
https://stackideas.com/forums/publish-module-into-a-single-group#reply-284399
·
Friday, 10 February 2017 16:03
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post