Support

Admin Tools

#37444 Skelton Key - Allow to open in new tab

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
4.0
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Friday, 08 July 2022 06:59 CDT

dunwin

Please look at the bottom of this page (under Support Policy Summary) for our support policy summary, containing important information regarding our working hours and our support policy. Thank you!

Follow-on from 

 #37383: Product Enhancement Suggestion - Login as a Registered User from Admin back end

This plugin works really well. 

Would it be possible that when  you logon as a user, the open could be done in a new window/tab of the browser rather than the existing window of the super user just so that you could still access the backend while opening the user in the front end in the same browser session.

Kind regards

David

 David Unwin - London UK

nicholas
Akeeba Staff
Manager

It's not possible — at least not reliably.

This button calls a piece of JavaScript which sets up the secure hash components using an AJAX call to a backend com_ajax page. Then it redirects you to the frontend page by setting window.location through JavaScript. The frontend page uses the secure hash to log you in.

Doing the latter step as a new window / tab is interpreted by the browser as a pop-up window. During my testing I found that most modern browsers would block the "popup window" by default with a very easy to miss hint. In many other cases third party extensions, like NoScript, would block the popup without any indication of what is going on. This would give the impression that the plugin is not working. Therefore I chose to open it in the same tab as this is not being blocked by browsers and browser extensions.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

dunwin

Hi Nicholas,

OK, I can understand the rationale behind this. It is not as though we will be using this function on a regular basis.

So not a problem. 
Thanks for developing this FREE plugin which for us moving to Joomla 4 will be very useful.

Kind regards

David

 

 

 David Unwin - London UK

nicholas
Akeeba Staff
Manager

> It is not as though we will be using this function on a regular basis.

That was a factor I considered when making the decision. I could've made it an option but a. people would change it without reading about the caveat of doing so and b. it's used so rarely that opening in the same tab is not too annoying, while the alternative would lead to support requests I don't want to have to deal with.

> Thanks for developing this FREE plugin which for us moving to Joomla 4 will be very useful.

My pleasure :)

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!