Solutions > Bible
Downloads: bible.zip, bible.php, bible.backup
To install the Bible, create a pages/bible folder, and extract the contents of the zip file into it. Then add the following entry to site.folders:
Finally, install the php and backup files as normal, using action.plugins. The backup file includes a couple useful templates and the script a key helper function used by these templates, ie: [(book 1)] => Genesis.
The script also includes a powerful markup rule that will identify a verse in just about any format it can recognize and convert it to a cool, fully tooltipped link.
It also has a useful Bible function which will take these references and return them in various formats: reference, link, text, verse, & tooltip.
Here are some outputs of the bible function for an idea of what this script can do. Note, I only have Genesis 1 on the server...
To change the default behavior of the markup rule to a different format, set BibleFmt to any of these values in site.config (default is tooltip). You probably won't want to use text or verse! To disable the MarkUp rule, set BibleFmt to 'false' in site.config. This should speed up page processing a bit.
Note: this script also has a very helpful myVerse function in it which developers can use to develop other Bible applications. All the Bible solutions in this section require this script to be enabled.
No search results found.