Edit button & post url open in new tab
3 posters
Page 1 of 1
Edit button & post url open in new tab
When I press the edit button it automatically opens in a new tab. I will edit the post and press "send" and the page will load in that tab while the original tab remains just as it was.
The same happens if i want to give someone the specific link of a post (so the page loads with on that post/with that post on display). Once i click on the link it opens in a new tab while the original one remains.
It happens with Chrome -which is the one i normally use- and i've also checked with mozilla and explorer. It happens to other people too and even though its been happening quite a while people started complaining a bit and i get it, it is a bit frustrating. I would appriciate your help. Thank you.
http://fandomworld.forumgreek.com/
The same happens if i want to give someone the specific link of a post (so the page loads with on that post/with that post on display). Once i click on the link it opens in a new tab while the original one remains.
It happens with Chrome -which is the one i normally use- and i've also checked with mozilla and explorer. It happens to other people too and even though its been happening quite a while people started complaining a bit and i get it, it is a bit frustrating. I would appriciate your help. Thank you.
http://fandomworld.forumgreek.com/
- forum version:
- phpBB3
Last edited by Nemesis of Love on Thu 16 Apr - 8:54; edited 2 times in total
Nemesis of Love- Forumember
- Posts : 31
Reputation : 4
Language : Greek, English
Location : Westeros
Re: Edit button & post url open in new tab
Hi,
Can you provide your forum's url ?
Can you provide your forum's url ?
Stephen-- Hyperactive
- Posts : 2542
Reputation : 326
Language :
Re: Edit button & post url open in new tab
just added it in the first post^
Nemesis of Love- Forumember
- Posts : 31
Reputation : 4
Language : Greek, English
Location : Westeros
Re: Edit button & post url open in new tab
Thanks, When you edit your post then send it does it appear the correct form you've edited ?
Stephen-- Hyperactive
- Posts : 2542
Reputation : 326
Language :
Re: Edit button & post url open in new tab
Look at the process of changing the font for example.
Here is a random topic.
and here is what happens once i press the edit button:
(it automatically opens the edit format in another tab)
so i change something
it loads and i'm left with both the edited post and the original one
as you can see...
Here is a random topic.
and here is what happens once i press the edit button:
(it automatically opens the edit format in another tab)
so i change something
it loads and i'm left with both the edited post and the original one
as you can see...
Nemesis of Love- Forumember
- Posts : 31
Reputation : 4
Language : Greek, English
Location : Westeros
Re: Edit button & post url open in new tab
I see, well let's wait for an official staff to see your problem so they could forward it to the technicians if needed.
Stephen-- Hyperactive
- Posts : 2542
Reputation : 326
Language :
Re: Edit button & post url open in new tab
Thanks^
And as i said, same thing happens when i click on a post's specific url. I could get more screenshots if the staff needs them
And as i said, same thing happens when i click on a post's specific url. I could get more screenshots if the staff needs them
Nemesis of Love- Forumember
- Posts : 31
Reputation : 4
Language : Greek, English
Location : Westeros
Re: Edit button & post url open in new tab
Hi @Nemesis of Love,
You have a script installed in JavaScript management that appears to be changing the target attribute of anchors in the postbody.
( Modules > JavaScript codes management )
This is the script :
Removing that should solve you problem of new tabs opening.
You have a script installed in JavaScript management that appears to be changing the target attribute of anchors in the postbody.
( Modules > JavaScript codes management )
This is the script :
- Code:
$(document).ready(function () {
$('.postbody a').attr('target', '_blank');
$('.postbody a[href^="TO LINK TOY FORUM SAS"]').attr('target', '_self')
});
Removing that should solve you problem of new tabs opening.
Re: Edit button & post url open in new tab
but the removal of it will not cause any troubles?
Nemesis of Love- Forumember
- Posts : 31
Reputation : 4
Language : Greek, English
Location : Westeros
Re: Edit button & post url open in new tab
As far as I can tell, it's only changing the links in posts so they will open in a new tab. Unless that's what you want, I don't think it will cause you any problems by removing it.
Re: Edit button & post url open in new tab
umm yes, ok. and where do i find it to remove it?
Nemesis of Love- Forumember
- Posts : 31
Reputation : 4
Language : Greek, English
Location : Westeros
Re: Edit button & post url open in new tab
Administration Panel > Modules > JavaScript codes management
Click the edit button to modify the script(s). Look for one that is exactly (or similar ) to what I posted above.
Click the edit button to modify the script(s). Look for one that is exactly (or similar ) to what I posted above.
Re: Edit button & post url open in new tab
ΑΑΑΑΑ thanks so much!! i fixed it. i had never used that page myself and now that i found the code i applied it only to the portal (it was placed in all the pages and thats why we had the problem)
thanks again.
thanks again.
Nemesis of Love- Forumember
- Posts : 31
Reputation : 4
Language : Greek, English
Location : Westeros
Similar topics
» Post Button edit request
» Is there anyway to view an original post when a member has used the edit button.
» button edit
» Change Quote Button, Edit Button and more into the text
» How to make the Home button not open in a new tab?
» Is there anyway to view an original post when a member has used the edit button.
» button edit
» Change Quote Button, Edit Button and more into the text
» How to make the Home button not open in a new tab?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum