By Jannik L. on Tuesday, 18 November 2014
Posted in Wanderers
Replies 11
Likes 0
Views 1.3K
Votes 0
Hey guys, is there any way to modify wanderers to allow the sidebar on the right on ES dashboard? for some reason sidebar right is hidden on EasySocial specific pages. I know its a design choice, but where can I change it in the code?
Hi Jannick,

You'll need to customize the template's index.php file. If I recall, there are three if/else statements regarding "com_easysocial" that you can remove, or call it something else like "com_easysocial###" to enable the sidebar option.
·
Tuesday, 18 November 2014 07:37
·
0 Likes
·
0 Votes
·
0 Comments
·
ah thanks a lot! that did the trick
·
Tuesday, 18 November 2014 07:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for sharing this Justin, glad that your issues are resolved Jannik
·
Wednesday, 19 November 2014 17:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Jannik,

Would you mind sharing what you have done to index.php to enable siebar on ES pages?


Regards,
·
Sunday, 15 March 2015 01:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Not sure if this is what you want to achieve but you can try this out Muhanad
·
Sunday, 15 March 2015 13:50
·
0 Likes
·
0 Votes
·
0 Comments
·
rry Mark,

What i need then is to enable position-7 on ES pages, just how its position in regular templates. Attached is how it looks like in some easysocial pages such as events. The current problem is it needs to be up, to the right, and in all easysocial pages ( currently its not visible in dashboard, groups, profile .. etc)


If we have an ads running on the website, we wouldn't want to assign manually to specific easysocial page but we would like to have it on all pages.
·
Tuesday, 17 March 2015 23:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hu Muhanad,

I am sorry for the late reply.
By default, there is no position-7 in EasySocial page. If you wish to have this, you can edit this file: .../templates/wanderers/index.php . Update this code at line: 84 & 95:

<div class="row">
<div class="col-md-<?php echo $this->countModules('position-7') && $input->get('option', '', 'default') != 'com_easysocial' ? '9' : '12';?>">

<?php if ($input->get('option', '', 'default') == 'com_easysocial') { ?>
<jdoc:include type="component" ></jdoc:include>
<?php } else { ?>
<div class="content-section">
<jdoc:include type="component" ></jdoc:include>
</div>
<?php } ?>
</div>

<?php if ($this->countModules('position-7') && $input->get('option', '', 'default') != 'com_easysocial') { ?>
<div class="col-md-3">
<div class="sidebar-section">
<!-- Begin Right Sidebar -->
<jdoc:include type="modules" name="position-7" style="sidebar" ></jdoc:include>
<!-- End Right Sidebar -->
</div>
</div>
<?php } ?>
</div>


to this:


<div class="row">
<div class="col-md-<?php echo $this->countModules('position-7') && $input->get('option', '', 'default') != '' ? '9' : '12';?>">

<?php if ($input->get('option', '', 'default') == 'com_easysocial') { ?>
<jdoc:include type="component" ></jdoc:include>
<?php } else { ?>
<div class="content-section">
<jdoc:include type="component" ></jdoc:include>
</div>
<?php } ?>
</div>

<?php if ($this->countModules('position-7') && $input->get('option', '', 'default') != '') { ?>
<div class="col-md-3">
<div class="sidebar-section">
<!-- Begin Right Sidebar -->
<jdoc:include type="modules" name="position-7" style="sidebar" ></jdoc:include>
<!-- End Right Sidebar -->
</div>
</div>
<?php } ?>
</div>


Hope this helps.
·
Wednesday, 18 March 2015 12:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mohd,

That did the trick but encountered 3 issues

1-
div class="row">
is visible
2- profile layout got messy, maybe because we have moved the "Events" "groups" widgets earlier to be under the "Apps" ? Attached a screenshot
3- why the module position is not aligned with easy social user menu?


Thanks
·
Wednesday, 18 March 2015 16:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Muhanad,

I am sorry, as I mention earlier that Wanderers do not support position-7 in EasySocial page. This is the reason why the layout is mess-up.
Regarding your first inquiry, I believe you have missed "<" tag infront of div class="row">

Please do understand that this is a customization and we do not provide support for Wanderers. Can you please provide us access to your site so that we can assist you whenever we have free time.

Please advise.
·
Wednesday, 18 March 2015 16:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mohd,

I totally understand and believe me i appreciate you trying to help. but please keep in mind that if you are going to offer a template for us to use, you needed to consider the fact that we need a module to show up in all pages for so many reasons. the restriction to only ES positions is not great.

I have added my website details and I really hope i get the support on this and maybe you make it standard in the next version of Wanderers.


Thanks again
·
Wednesday, 18 March 2015 17:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Muhanad,

I have replied to your other ticket. Is there anything else I can assist you with?

Please advise.
·
Wednesday, 18 March 2015 17:32
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post