By Josh Lewis on Tuesday, 13 December 2016
Posted in Technical Issues
Likes 0
Views 251
Votes 0
Login to the site. Works as expected. Logout (by clicking the user image on the upper right and then the bottom link in the dropdown). It will redirect you to: https://peakfun.com/index.php?option=com_easysocial&view=dashboard&Itemid=101
It's supposed to simply redirect you to https://peakfun.com upon logout.

In case you want to test with Protostar template https://peakfun.com/logout will log you out. I've also tested with the dashboard not being the primary menu item, so even under normal conditions it seems to do this. My ES 1.4 test site doesn't have this issue. Disabling the Simple URL plugin doesn't change anything. When setting the option "Logout Redirection" to other ES menu items, it gives their non SEF URL upon logout. Non ES items for logout redirection work perfect. So it seems to be ES related.

I haven't tested literally everything, but I will call it a night for now.
I have applied some fixes under /components/com_easysocial/views/login/view.html.php . Please try this again.
·
Sunday, 18 December 2016 16:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Josh,

May I know how you create the dropdown menu? where I've inspected that you're not using the default EasySocial's dropdown menu. So we can troubleshoot this issue further
·
Wednesday, 14 December 2016 11:24
·
0 Likes
·
0 Votes
·
0 Comments
·
I'm using straight up HTML (via the HTML module built into Joomla) to produce the upper right menu when logged in. The menu then utilizes Joomla's bootstrap JS file to turn it into a dropdown. The logout link is using EasySocial's logout menu item. As mentioned above, you can replicate the issue without the menu and with using Joomla's default template. If this is time consuming, I can look into this further to see if I can figure out more patterns.
·
Friday, 16 December 2016 15:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Josh,

Regarding your issue, I've enabled the toolbar for your EasySocial and it i logout from EasySocial toolbar, EasySocial redirect you to correct page.

I'm using straight up HTML (via the HTML module built into Joomla) to produce the upper right menu when logged in. The menu then utilizes Joomla's bootstrap JS file to turn it into a dropdown


Regarding the above, may i know when you enter the logout link, did you entered as non-sef url? Also, can you tell me which menu module that you are entering these links?

Please advise.
Sam
·
Friday, 16 December 2016 17:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Indeed the toolbar handles the logout action as you would expect.

As for the logout link, it is using a SEF URL as seen in the module "Custom Code":
https://peakfun.com/administrator/index.php?option=com_modules&view=module&layout=edit&id=131

It uses the following HTML:

<li class="item-185"><a class="icon-power-cord" href="/logout">Logout</a></li>


Logout Action menu item is located in Menus > Hidden Menu > Logout
https://peakfun.com/administrator/index.php?option=com_menus&task=item.edit&id=471

I'm curious if the ES logout menu item does this on your test site? When using Joomla's native logout menu item it works as expected. I swapped it back to ES's of course.
·
Saturday, 17 December 2016 02:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Yeay!! Will this fix be added in the next release of ES?
·
Monday, 19 December 2016 03:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, this will be fixed on the next release.
·
Monday, 19 December 2016 09:21
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post