By Danilo on Monday, 14 November 2016
Likes 0
Views 515
Votes 0
Hi,
how can I "logout" from mobile view? I have toolbar module.
Tnx
Danilo
I believe you have customized the layout which causes the logout link to disappear. This is how it looks like on my end, http://take.ms/iurCZ
·
Monday, 14 November 2016 22:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,
I don't see in mine also "Edit Profile". What I have touched!?!?!?
I made a fixed div using CSS and ES2 toolbar module.
·
Monday, 14 November 2016 22:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Mark, I remember I had a problem that you fix some days ago. The toolbar wasn't mobile.....
·
Monday, 14 November 2016 22:58
·
0 Likes
·
0 Votes
·
0 Comments
·
You have created a template override under /templates/protostar/html/com_easysocial/toolbar/default.php and it is missing the following codes,

[gist]
<li class="<?php echo $view == 'conversations' ? 'is-active' : '';?>" data-es-logout>
<a href="javascript:void(0);" class="es-navbar__footer-link" data-es-logout-button>
<i class="fa fa-power-off"></i>
<span>
<?php echo JText::_('Logout');?>
</span>
</a>

<form class="logout-form" action="<?php echo JRoute::_('index.php');?>" data-es-logout-form method="post">
<input type="hidden" name="return" value="<?php echo $logoutReturn;?>" />
<input type="hidden" name="option" value="com_easysocial" />
<input type="hidden" name="controller" value="account" />
<input type="hidden" name="task" value="logout" />
<input type="hidden" name="view" value="" />
<?php echo $this->html('form.token'); ?>
</form>
</li>
[/gist]
·
Monday, 14 November 2016 23:22
·
0 Likes
·
0 Votes
·
0 Comments
·
is it better to update ES to 2.05 and delet override or update both?
·
Monday, 14 November 2016 23:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hm, not really sure why you created the override but if you rename the folder /templates/protostar/html/com_easysocial/toolbar , you can see the logout button on mobile devices.
·
Monday, 14 November 2016 23:27
·
0 Likes
·
0 Votes
·
0 Comments
·
ops ... sorry Mark. it's my fault. Now I know.
Tnx
Danilo
·
Monday, 14 November 2016 23:45
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome
·
Monday, 14 November 2016 23:52
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post