Scripture Filter Drupal Module
Scripture Filter is a simple input filter module for Drupal that converts scripture references to clickable links to a variety of online Bibles.
It started off as a port of the WordPress version of the Scripturizer Perl plug-in, but no effort has been since then to keep them similar in features.
David Blewett (web site no longer online) did the port, and I’ve been maintaining it since August 2006.
Frequently Asked Questions
Would you make it open links in a new window automatically?
No. This is, in my opinion, something that should be the user’s choice, rather than the webmaster’s choice, so I won’t add it to the module. If you want to add this feature to your own installation of the module, feel free — it isn’t hard.
Why doesn’t it work?
Most of the time, it’s because of one of these three:
The module hasn’t been enabled (go to /admin/build/modules, and turn it on).
The module hasn’t been added to a filter (go to /admin/settings/filters, configure a filter, and check the box for Scripture Filter).
If caching is turned on, you may need to edit the nodes (and actually change something, even if it’s just adding or removing a space) to have it regenerate the content with the links.
If it’s still not working after you’ve tried both of these, feel free to submit a support request.
Why can’t I make it stop?
Most of the time, it’s because of one of these two:
The module is still enabled, and/or is still part of an input filter (see the previous question, and reverse the instructions).
Caching is turned on, so the links still show up even though the module is disabled. To test this, go to /admin/settings/performance and turn off caching. If the links then disappear, that’s your issue. You’ll need to clear and rebuild the cache to remove all of the links. (I don’t know how to do this off-hand — if you do, let me know, and I’ll update this page accordingly.)
My favorite Bible version is missing. Will you add it?
Sure. Add a feature request, letting me know what version you’d like to see, and where to find it online.
I’d like to add a feature to the module. May I?
Maybe — my priorities for the module are to keep it simple, easy to maintain and use, and as bug-free as possible. If you can provide a clean patch that implements a new feature that will be generally useful to the majority of people who use the module, I’ll be happy to review it.
Please just include one change per patch. If I like seven of your ten ideas, but you’ve combined them all into one patch, I won’t be able to implement any of them for you until you remove the other three, and that would get messy. It’s also much easier for me to review small, discrete patches, rather than large multi-issue ones.
I probably won’t commit complex changes unless they implement a really nice feature and are easy to review and test, but I might be able to give suggestions on how to make it simpler. Please add a feature request before you get too far into writing the code, if possible, so that we can go over the idea first.
