Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Without making any changes to the code, you can put the abbreviation of a Bible translation in parentheses after a scripture reference -- e.g. John 1:12 (KJV).
You can modify the scripturefilter.inc file. The very first line that isn't a comment lets you set the default Bible translation. Change that to "KJV".
There's a feature request (http://drupal.org/node/10323) to allow the default version to be set per user. I'd also like to add a way to make it configurable either per-filter or per-site.
I actually made a program that does something similar to this one, but only for biblegateway, with other functionality as well. I know... shame on me for not checking first.
Anyways, I've the scriptures linked directly to a location, which automatically redirect it to bible gateway.com. Here's the code relating to this:
This also selects the version from a variable in the system when the verse is looked up, so there's no need to update content when changing the default version. This could also allow for an individual option for version.
The entire code for this module hasn't been published, in case you were wondering. I might, but not sure if I want to use it as a way to get people to host through me or not.
Comments
Comment #1
Steve Simms commentedYes, you can do this in one of two ways:
There's a feature request (http://drupal.org/node/10323) to allow the default version to be set per user. I'd also like to add a way to make it configurable either per-filter or per-site.
Hope this helps,
Steve Simms
Comment #2
bradlis7 commentedI actually made a program that does something similar to this one, but only for biblegateway, with other functionality as well. I know... shame on me for not checking first.
Anyways, I've the scriptures linked directly to a location, which automatically redirect it to bible gateway.com. Here's the code relating to this:
This also selects the version from a variable in the system when the verse is looked up, so there's no need to update content when changing the default version. This could also allow for an individual option for version.
The entire code for this module hasn't been published, in case you were wondering. I might, but not sure if I want to use it as a way to get people to host through me or not.