Whilst small files can be uploaded to forum posts, if you have a custom theme or module to contribute please add it on the "Add-ons" page.

TOPIC: [SOLVED] Open URL in new tab

Open URL in new tab 3 weeks 4 days ago #1

  • thomas52
  • thomas52's Avatar
  • Online
  • Frequent
  • Western North Carolina
  • Posts: 803
I like the not-so-recently discussed "force links to open in a new tab", so
/app/filter.php - line 138, is changed to -
'<a href="' . $m[0] . '" TARGET = "_blank">' . $m[0] . '</a>';
HOWEVER, this mod doesn't work in the newer version 1.7.13, and my page crashes.
Can anyone give me some guidance?
"Failure is an amazing teacher." (L'échec est un professeur extraordinaire.)
The administrator has disabled public write access.

Open URL in new tab 3 weeks 4 days ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 10908
I can't think of any code changes since 1.7.9 that would affect this.

Check your typing?
Post a URL where we can see this?
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

Open URL in new tab 3 weeks 4 days ago #3

  • thomas52
  • thomas52's Avatar
  • Online
  • Frequent
  • Western North Carolina
  • Posts: 803
The line number changed, but it was my bad (typo.) Thank you.
"Failure is an amazing teacher." (L'échec est un professeur extraordinaire.)
The administrator has disabled public write access.

[SOLVED] Open URL in new tab 3 weeks 4 days ago #4

  • thomas52
  • thomas52's Avatar
  • Online
  • Frequent
  • Western North Carolina
  • Posts: 803
Problem solved.
"Failure is an amazing teacher." (L'échec est un professeur extraordinaire.)
The administrator has disabled public write access.
Powered by Kunena Forum