By Antonio Calarco on Saturday, 04 April 2015
Posted in General Issues
Replies 3
Likes 0
Views 765
Votes 0
Hi,
I would like to disable Random Albums in View Category from the sidebar without disabling Random Friends (please find attache file)

It is possible?
Could you please help me?

Thank you
Antonio
Hello Antonio,

I am really sorry for the delay of this reply as it is a weekend for us here. Unfortunately right now this is not configurable but you can edit the theme file /components/com_easysocial/themes/wireframe/groups/category.item.php and remove the block of codes below,


<div class="es-widget">
<div class="es-widget-head">
<div class="pull-left widget-title"><?php echo JText::_( 'COM_EASYSOCIAL_GROUPS_RANDOM_ALBUMS' );?></div>
</div>

<div class="es-widget-body">
<?php if ($randomAlbums) { ?>
<ul class="widget-list-grid">
<?php foreach( $randomAlbums as $album ){ ?>
<li>
<div class="es-avatar-wrap">
<a href="<?php echo $album->getPermalink();?>" class="es-avatar es-avatar-sm"
data-original-title="<?php echo $this->html( 'string.escape' , $album->get( 'title' ) );?>"
data-es-provide="tooltip"
data-placement="bottom"
>
<img alt="<?php echo $this->html( 'string.escape' , $album->get( 'title' ) );?>" src="<?php echo $album->getCover( 'square' );?>" />
</a>
</div>
</li>
<?php } ?>
</ul>
<?php } else { ?>
<div class="fd-small">
<?php echo JText::_('COM_EASYSOCIAL_GROUPS_NO_ALBUMS_HERE'); ?>
</div>
<?php } ?>
</div>
</div>
·
Saturday, 04 April 2015 23:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mark,
no problem it was not urgent

I removed the block of codes and it works fine now

Thank you very much
Antonio
·
Friday, 10 April 2015 05:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Antonio,

You are most welcome
·
Friday, 10 April 2015 11:50
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post