By Christian Hamberger on Tuesday, 15 January 2019
Posted in General Issues
Replies 1
Likes 0
Views 358
Votes 0
Hello Stackideas Team,

we wonna edit the left sidebar of group visualisation. What is the way to achieve this?

Attached a screenshot example.

Thanks for helping.

Best Chris
Hi there,

Currently, you only can remove 'News Feeds' by doing some customisation at this file .../components/com_easysocial/themes/wireframe/groups/item/default.php by removing codes below. Do refer here https://stackideas.com/docs/easysocial/administrators/templating/template-overrides on how to do template override.

[gist type="php"]
<?php if ($displayFeedsFilter) { ?>
<div class="es-side-widget">
<?php echo $this->html('widget.title', 'COM_EASYSOCIAL_NEWS_FEED', $customFilterActions); ?>

<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) && ($layout != 'moderation' && $layout != '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="o-tabs__bubble" data-counter>0</div>
</a>
</li>

<?php if (($group->isAdmin() || $group->isOwner() || $this->my->isSiteAdmin()) && $showPendingPostFilter) { ?>
<li class="o-tabs__item <?php echo $layout == '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 } ?>

<?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 $filter->permalink;?>" class="o-tabs__link"><?php echo $filter->_('title'); ?></a>
</li>
<?php } ?>
<?php } ?>
</ul>
</div>
</div>
<?php } ?>
[/gist]

Currently, it is not possible to arrange those "Apps"(Announcement and etc) currently as it will be shown as "First come First serve" basis.

Please advice.
·
Tuesday, 15 January 2019 11:44
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post