J3 Issue ?
avatar BurtNL
BurtNL
8 Sep 2018

Steps to reproduce the issue

Go in backend to Users > Privacy (Dashboard).
This panel is show on the right, see the link 'Request Form Menu Item Published'.
It seems to be a link to the frontend, but opens in the backend.

screen shot 2018-09-08 at 18 27 14

Expected result

Should open in frontend in new tab.

Actual result

Opens in backend, replacing the backend interface.

System information (as much as possible)

Joomla 3.9.0-alpha2-dev.

Additional comments

None.

avatar BurtNL BurtNL - open - 8 Sep 2018
avatar joomla-cms-bot joomla-cms-bot - labeled - 8 Sep 2018
avatar BurtNL BurtNL - change - 8 Sep 2018
Title
Link to frontend opens in backend
[3.9]Link to frontend opens in backend
avatar BurtNL BurtNL - edited - 8 Sep 2018
avatar brianteeman brianteeman - change - 8 Sep 2018
Labels Added: J3 Issue
avatar brianteeman brianteeman - labeled - 8 Sep 2018
avatar mbabker
mbabker - comment - 8 Sep 2018

There isn't a target="_blank" on the link and IMO there shouldn't be.

avatar roland-d
roland-d - comment - 8 Sep 2018

There shouldn't be a `target="_blank" but is the observation correct that it should open the front-end instead of the back-end?

avatar mbabker
mbabker - comment - 8 Sep 2018

Yes. It is a link to the frontend request form (note here it is under the check of whether the frontend menu item is published, and the current frontend link is displayed regardless of a menu item being published so that the link can always be easily referenced).

avatar franz-wohlkoenig franz-wohlkoenig - change - 9 Sep 2018
Status New Discussion
avatar franz-wohlkoenig franz-wohlkoenig - change - 9 Sep 2018
Category com_csp
avatar roland-d
roland-d - comment - 9 Sep 2018

@BurtNL Do I understand you correctly that this link opens the back-end of Joomla instead of the front-end?

avatar BurtNL
BurtNL - comment - 9 Sep 2018

@roland-d To be more precise: that link opens the frontend, but in the same browser tab as the backend, thus replacing the backend. I agree with Michael that it is just a check to see if a specific form (Privacy -> Create Request) has been published, although I would expect a link to a frontend item will open in a new browser tab and doesn't replace the backend.

avatar roland-d
roland-d - comment - 9 Sep 2018

@BurtNL Ah I see your point. In that case we can close this issue because all links in Joomla do not have a target set. It is up to the user to decide where it wants the link to open. So if you want a new tab, you can use the CTRL-click for example.

avatar mbabker
mbabker - comment - 9 Sep 2018

I'm sure @brianteeman has the reference more handy than me but there are accessibility concerns with arbitrarily opening links in new browser tabs or windows as well, which is part of the reason we don't add the target attribute to links.

avatar BurtNL
BurtNL - comment - 9 Sep 2018

@roland-d Okay, that's fine with me.

avatar roland-d roland-d - change - 9 Sep 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-09-09 20:25:14
Closed_By roland-d
avatar roland-d roland-d - close - 9 Sep 2018

Add a Comment

Login with GitHub to post a comment