By Jordan Weinstein on Wednesday, 02 November 2016
Posted in General Issues
Replies 9
Likes 0
Views 183
Votes 0
In EasySocial 2, it seems the sidebar items on the dashboard view do not appear unless the user is logged in. Is there any way to change this? This is the appearance of my dashboard for guests.

http://d.brbns.com/iSmU

Once logged in, the recent users, pages, events modules appear. It seems the sidebar is unpublished for guests.

Jordan
This file seems to control the guest view:

components/com_easysocial/themes/wireframe/dashboard/guests/default.php

The sidebar code appears to be missing:


<?php
/**
* @package EasySocial
* @copyright Copyright (C) 2010 - 2016 Stack Ideas Sdn Bhd. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* EasySocial is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
defined('_JEXEC') or die('Unauthorized Access');
?>
<div>
<?php echo $this->html('html.login', $return); ?>
</div>

<div class="es-dashboard">
<div class="es-container">
<div class="es-content">

<?php echo $this->render('module', 'es-dashboard-before-contents'); ?>

<div class="es-snackbar">
<div class="es-snackbar__cell">
<h1 class="es-snackbar__title">
<?php if ($filter == 'hashtg') { ?>
#<?php echo $hashtag;?>
<?php } else { ?>
<?php echo JText::_('COM_EASYSOCIAL_RECENT_UPDATES');?>
<?php } ?>
</h1>
</div>

<?php if ($this->config->get('stream.rss.enabled', true)) { ?>
<div class="es-snackbar__cell">
<a href="<?php echo $rssLink;?>" class=" pull-right btn-rss" target="_blank">
<i class="fa fa-rss-square"></i> <?php echo JText::_('COM_EASYSOCIAL_SUBSCRIBE_VIA_RSS');?>
</a>
</div>
<?php } ?>
</div>

<div>
<?php echo $stream->html(false, JText::_('COM_EASYSOCIAL_UNITY_STREAM_LOGIN_TO_VIEW')); ?>
<?php echo $this->includeTemplate('site/dashboard/guests/stream.login'); ?>
</div>

<?php echo $this->render('module', 'es-dashboard-after-contents'); ?>
</div>
</div>
</div>

·
Wednesday, 02 November 2016 11:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Jordan Weinstein,

This is actually the correctly behaviour. In EasySocial 2.0, the sidebar no longer shown to guest when they access the dashboard page

Hope this help.
Sam
·
Wednesday, 02 November 2016 11:23
·
0 Likes
·
0 Votes
·
0 Comments
·
I also need the sidebar for guests.

And Sidebar in the video view would be great. Then you could display "other videos" next to the video and not under it.
·
Wednesday, 02 November 2016 18:56
·
0 Likes
·
0 Votes
·
0 Comments
·
That's very unfortunate. The sidebar has content that would attract people to join the community. Eliminating it is a poor decision in my opinion. At least it should be configurable to show or hide. As it stands, arriving at the dashboard page for guests looks very plain.

Jordan
·
Wednesday, 02 November 2016 19:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Absolutely your opinion Jordan. And who does not need it. CSS:

element.style {
display: none;
}

·
Wednesday, 02 November 2016 19:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Especially since you can make modules showing the same thing for public users in other parts of your site, I don't understand this decision.
·
Thursday, 03 November 2016 00:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey guys,

The rationale in removing the sidebar is because:

1. By default, on the sidebar it only contains a single filter and other than that, there is nothing else.
2. We have seen too many sites leaving an empty sidebar with a single filter and it makes EasySocial look really horrible.
3. It gives the stream a larger area to breathe
4. If you need to assign modules, it could be done within your Joomla template's sidebar.

As an alternative solution to this, in the next release we could probably still show the sidebar only when there are modules assigned to it, otherwise it'll utilize a full width instead.
·
Thursday, 03 November 2016 10:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Understood Mark.

This is a great suggestion:


As an alternative solution to this, in the next release we could probably still show the sidebar only when there are modules assigned to it, otherwise it'll utilize a full width instead.
·
Thursday, 03 November 2016 10:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Jordan Weinstein,

Thank you for your understanding
Have a nice day!
Sam
·
Thursday, 03 November 2016 13:11
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post