Option to Open Scripture into a new page

Created on 3 October 2012, over 11 years ago
Updated 15 August 2023, 11 months ago

Provide an option so that when the user clicks the link that the scripture reference opens in a new browser window.

In other words, option to include target="_blank" in the created anchor tag for the scripture so that link will be produced like the following...

<a href="http://biblegateway.com/passage/?search=1+Peter+4%3A10&version=NIV" title="Bible Gateway" target="_blank">1 Peter 4:10

✨ Feature request
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States hedgehogjim

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States BEGRAFX Laconia, New Hampshire

    Just to give my unasked for $.02, My thought is that the best way to accomplish this would be with a Modal. Targeting the scripture output to a separate screen/tab would seem to be less than ideal, as the user has to first, be aware that this new tab has opened (which, granted, should be fairly obvious, but, as we know, not always.) Then they've got to switch from the active Drupal tab to this other tab, read the reference, then find the original tab (which can sometimes be tricky if you're one of us who may have multiple tabs open) to switch back to the Drupal tab. If a Modal were used, the user could click the link, the reference pops up on the same screen, they're able to read it, and more easily reference the original context, and then simply close the modal when they're done, to return to the original content.

  • πŸ‡¬πŸ‡§United Kingdom JamesOakley Kent, UK

    I like that thought, and with some jquery dependencies already in core it shouldn't add much overhead to do it.

    If someone wants to propose a simple patch that lets a site administrator opt in to have Scripture links open in a modal popup, I'd be happy to test and commit it once it works correctly.

  • πŸ‡ΊπŸ‡ΈUnited States BEGRAFX Laconia, New Hampshire

    OK. Let me work on it. I've been milling around some ideas.

Production build 0.69.0 2024