By Daniel Ribeiro on Thursday, 21 January 2016
Replies 5
Likes 0
Views 1K
Votes 0
I'm trying to find a way to hide "Apps" from the sidebar on profile page... but not having luck.
Could you please help me on this?
Good morning to all crew!
Hello Daniel Ribeiro,

You can easily hide the "Apps" from the sidebar on profile page by setting in backend > EasySocial > Themes > (Wireframe) > Dashboard >
Display Applications = No

Regards,
Fadhli
·
Thursday, 21 January 2016 12:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for the reply, but no... it doesn't work. I've done that already.
Will attach the screens of both back and frontend.

Thank you in advance for any light on this.
·
Thursday, 21 January 2016 13:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Daniel Ribeiro,

Currently there is no setting on the backend to hide "Apps" on profile page, but if you want to hide it, you can replace the default.php attached in DIR: ../components/com_easysocial/themes/wireframe/profile/default.php

Please advise,
Fadhli
·
Thursday, 21 January 2016 14:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Please, as I have made some changes already on this file (as suggested by staff on other tickets I created), I wish it would be possible to describe what should I cut (or modify) on /components/com_easysocial/themes/wireframe/profile/default.php so it would hide the "Apps" from appearing on profile's sidebar.

And why this function (screenshot) does not work for this purpose? (What would it be then?)

Thank you again,
Daniel Ribeiro
·
Monday, 04 April 2016 19:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Daniel Ribeiro,

You can comment/delete the code below in the file
DIR: ../components/com_easysocial/themes/wireframe/profile/default.php
<div class="es-widget">
<div class="es-widget-head">
<div class="pull-left widget-title">
<?php echo JText::_('COM_EASYSOCIAL_PROFILE_APPS_HEADING');?>
</div>

<?php if ($user->isViewer() && $this->template->get('profile_apps_browse')) { ?>
<a class="pull-right fd-small" href="<?php echo FRoute::apps();?>">
<i class="icon-es-add"></i> <?php echo JText::_('COM_EASYSOCIAL_BROWSE'); ?>
</a>
<?php } ?>
</div>
<div class="es-widget-body">
<ul class="widget-list fd-nav fd-nav-stacked" data-profile-apps>
<li
data-profile-apps-item
data-layout="custom"
>
<a href="<?php echo FRoute::profile(array('id' => $user->getAlias(), 'layout' => 'about')); ?>"
data-info <?php if (!empty($infoSteps)) { ?>data-loaded="1"<?php } ?>
title="<?php echo JText::_('COM_EASYSOCIAL_PROFILE_ABOUT'); ?>"
>
<i class="icon-es-aircon-user mr-5"></i> <?php echo JText::_('COM_EASYSOCIAL_PROFILE_ABOUT'); ?>
</a>
</li>

<?php if (!empty($infoSteps)) { ?>
<?php foreach ($infoSteps as $step) { ?>
<?php if (!$step->hide) { ?>
<li
class="<?php if ($step->active) { ?>active<?php } ?>"
data-profile-apps-item
data-layout="custom"
>
<a class="ml-20" href="<?php echo $step->url; ?>" title="<?php echo $step->title; ?>" data-info-item data-info-index="<?php echo $step->index; ?>">
<i class="fa fa-info mr-5"></i> <?php echo $step->title; ?>
</a>
</li>
<?php } ?>
<?php } ?>
<?php } ?>

<li class="<?php echo !empty($timeline) ? '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(), 'layout' => 'timeline'));?>"
data-profile-apps-item
data-title="<?php echo JText::_( 'COM_EASYSOCIAL_PROFILE_TIMELINE' );?>"
>
<a href="javascript:void(0);" title="<?php echo JText::_( 'COM_EASYSOCIAL_PROFILE_TIMELINE' );?>">
<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->getAppTitle(); ?>
</a>
</li>
<?php } ?>
<?php } ?>
</ul>
</div>
</div>

on line 61

Please give it a try
·
Tuesday, 05 April 2016 12:19
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post