By L. A. Devijen on Saturday, 23 February 2019
Posted in General Issues
Replies 1
Likes 0
Views 528
Votes 0
Hello,
I have a small problem after EasySocial 3.0 update.
I want to remove Categories module from sidebar on Pages, Groups, Events, Videos and Audios.
I'd do overrides in template files ...default/sidebar.php.
I commented this code:

<?php /* if ($browseView) { ?>
<hr class="es-hr" />
<div class="es-side-widget">
<?php echo $this->html('widget.title', 'COM_EASYSOCIAL_GROUPS_CATEGORIES_SIDEBAR_TITLE'); ?>

<div class="es-side-widget__bd">
<?php echo $this->html('cluster.categoriesSidebar', SOCIAL_TYPE_GROUP, $activeCategory) ?>
</div>
</div>
<?php }*/ ?>
But it not work.
Before Update it was work.
I cleaned all caches without result.
If you can help me?
Regards,
Lazer
Hey there,

I am really sorry for the delay of this reply as it is a weekend for us here.

In Easysocial 3.x, we already moved all these sidebar to a module which is sidebar module.

Those files located at :
JoomlaFolder/modules/mod_easysocial_sidebar/tmpl/groups.php
JoomlaFolder/modules/mod_easysocial_sidebar/tmpl/pages.php
JoomlaFolder/modules/mod_easysocial_sidebar/tmpl/events.php
JoomlaFolder/modules/mod_easysocial_sidebar/tmpl/audios.php
JoomlaFolder/modules/mod_easysocial_sidebar/tmpl/videos.php


So you can template override it for this sidebar module.

Remove this similar code for different files.

For example Group sidebar :

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

<div class="es-side-widget__bd">
<?php echo $this->lib->html('categories.sidebar', SOCIAL_TYPE_GROUP, $activeCategory) ?>
</div>
</div>
·
Sunday, 24 February 2019 12:02
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post