Closed (fixed)
Project:
Bible
Version:
6.x-1.2-rc2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Dec 2008 at 23:25 UTC
Updated:
28 Mar 2011 at 02:31 UTC
Hi,
Could you please let me know how to disable the bible chapter data. I've tried going to config under bible module settings and unticking the Active Bible data box, but when you save the changes, the box just ticks itself again and all the bible chapter data is still displayed...
Comments
Comment #1
MikeLee_Birdy commentedDear Drup-rider:
Yes, this is a bug. Please modify line 814: at the last place
variable_set('bibledata_active', $bibledata['activebibledata']=='1');
Add [ =='1' ] will solve the problem you encountered.
And, to avoid another bug, you can modify the following lines:
if (isset($bibledata['bdtype'])) { <-- Add this line
foreach ($bibledata['bdtype'] as $bd) {
if ($bd == "commentary") $bdtype .= 'C';
if ($bd == "music") $bdtype .= 'M';
if ($bd == "refverse") $bdtype .= 'R';
if ($bd == "dailyread") $bdtype .= 'D';
if ($bd == "sermon") $bdtype .= 'S';
if ($bd == "misc") $bdtype .= 'X';
}
} <-- Add this line
Thanks for your bug report.
MikeLee
Comment #2
Kriss-dupe commentedBeen here too long, clearing up for efficiency.