Closed (outdated)
Project:
Bible
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
31 Oct 2010 at 17:15 UTC
Updated:
14 Feb 2020 at 10:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
MikeLee_Birdy commentedDear Sir:
Discuss for awhile: do you think if I use regex to solve this function is a good idea?
MikeLee
Comment #2
coopercrazy commentedHi Mikelee,
I think the regex would work. It might not be the most efficient method of searchng. I'd be willing to do some testing if you can get something working. What is the current method you use to do keyword searches within the text?
Perhaps a good idea would be to have a check box that one could check if they wanted to perform the verse number search. Maybe an wven better suggestion would be to have a seperate search box which performs this type of search.
Thanks.
Comment #3
MikeLee_Birdy commentedDear Sir:
I've finish this function development. Please use the latest version in http://drupal.org/node/979716 for test. And please let me know if there I should do some thing more. Thanks.
MikeLee
Comment #4
coopercrazy commentedThanks MikeLee. I will begin checking it out and let you know how it does.
Thanks.
Comment #5
coopercrazy commentedMikeLee,
I was able to conduct an advanced search with the format "*:1:1" (without the quotes). This returns all books which have a chapter 1 and verse 1 as expected.
Is there any way to perform an advanced search from the quick "Bible Search" block?
Thanks.
Comment #6
MikeLee_Birdy commentedDear Sir:
I've some plans:
1. Put advance option in Search Block also. But this will enlarge and change all block size to those who use this module. Of course we can make this advance option collapsible.
2. Add some syntax to teach user to use advance search, such as "search keyword [*:1:1]". This will cause some other effort to education users.
3. An simple link to tell user, if you need advance search, jump to normal bible search page.
Which do think is better?
MikeLee
ps. I've update a new release to solve some bugs. Please update.
Comment #7
coopercrazy commentedMikeLee
I like option 1 - it could also be something that gets turned on in the Bible Module's settings page. I.e. default is that that the search block performs a simple search. A checkbox could turn on whether the search block performs an advanced search.
I think option 2 would certainly be useful as well. I would consider option 3 as a last resort.
I will also check out the latest update.
Thanks Again.
Comment #8
MikeLee_Birdy commentedDear Sir:
I've finish this part. As option 1, Admin/Config got a new block configuration, so that Search Block as a switch to enable/disable Advance Option. Please try http://drupal.org/node/999008 .
MikeLee
Comment #9
coopercrazy commentedMikeLee,
That is very nice! Thank you very much.
Merry Christmas!
Comment #10
coopercrazy commentedMikeLee,
I took the liberty of making a few changes to the layout of the block search form.
You can choose to keep them or not. Let me know what you think.
Comment #11
MikeLee_Birdy commentedDear Sir:
Thanks....I'll put it into next release. Happy New Year!
MikeLee
Comment #12
avpadernoI am closing this issue, since it's for a Drupal version no longer supported.