By pater price on Tuesday, 22 July 2014
Replies 3
Likes 0
Views 1.2K
Votes 0
Hello, i'm building a website with easysocial and i don't need applications feature. How can i disable it?
If you are using the Frosty theme, you should edit the file /components/com_easysocial/themes/frosty/toolbar/default.php and remove the codes below,


<li class="<?php echo $view == 'apps' ? 'active' : '';?>">
<a href="<?php echo FRoute::apps();?>">
<?php echo JText::_( 'COM_EASYSOCIAL_TOOLBAR_APPS' );?>
</a>
</li>


As for removing the apps on the sidebar, you can do so by editing the file /components/com_easysocial/themes/frosty/profile/default.php and remove the codes below:


<div class="es-widget-body">
<ul class="widget-list fd-nav fd-nav-stacked" data-profile-apps>
<li class="<?php echo !$activeApp ? 'active' : '';?>"
data-layout="embed"
data-id="<?php echo $user->id;?>"
data-namespace="site/controllers/profile/getStream"
data-embed-url="<?php echo FRoute::profile( array( 'id' => $user->getAlias() ) );?>"
data-profile-apps-item
>
<a href="javascript:void(0);">
<i class="icon-es-genius mr-5"></i> <?php echo JText::_( 'COM_EASYSOCIAL_PROFILE_TIMELINE' );?>
</a>
</li>
<?php if( $apps ){ ?>
<?php foreach( $apps as $app ){ ?>
<?php $app->loadCss(); ?>
<li class="app-item<?php echo $activeApp == $app->id ? ' active' : '';?>"
data-app-id="<?php echo $app->id;?>"
data-id="<?php echo $user->id;?>"
data-layout="<?php echo $app->getViews( 'profile' )->type; ?>"
data-namespace="site/controllers/profile/getAppContents"
data-canvas-url="<?php echo FRoute::apps( array( 'id' => $app->getAlias() , 'layout' => 'canvas' , 'uid' => $user->getAlias(), 'type' => SOCIAL_TYPE_USER) );?>"
data-embed-url="<?php echo FRoute::profile( array( 'id' => $user->getAlias() , 'appId' => $app->getAlias() ) );?>"
data-title="<?php echo $app->getPageTitle(); ?>"
data-profile-apps-item
>
<a href="javascript:void(0);">
<img src="<?php echo $app->getIcon();?>" class="app-icon-small mr-5" /> <?php echo $app->get( 'title' ); ?>
</a>
</li>
<?php } ?>
<?php } ?>
</ul>
</div>
</div>
·
Wednesday, 23 July 2014 11:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Peter,

I am sorry but unfortunately you can't turn this off right now but what you can do is to hide the menu to the apps area. You can do so by editing the theme file /components/com_easysocial/themes/wireframe/toolbar/default.profile.php and remove the codes below:


<li>
<a href="<?php echo FRoute::apps();?>">
<i class="ies-cube ies-small mr-5"></i> <?php echo JText::_( 'COM_EASYSOCIAL_TOOLBAR_APPS' );?>
</a>
</li>
·
Tuesday, 22 July 2014 13:27
·
0 Likes
·
0 Votes
·
0 Comments
·
I tried this way but nothing i'm using Frosty template. And how to remove also application module from easysocial sidebar position in profile view and news feed? thanks
·
Wednesday, 23 July 2014 05:16
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post