Closed (fixed)
Project:
Custom Search
Version:
7.x-1.7
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Mar 2011 at 16:41 UTC
Updated:
8 May 2013 at 20:50 UTC
Jump to comment: Most recent
Comments
Comment #1
rookiewriter commentedExcellent module! I would like to also make the box larger (default size is 15) I would like to make it 25. How do I do this? Thank you – maybe it's obvious… I'm just new :-)
Comment #2
rookiewriter commentedOops… Didn't notice that this was for version 6x… I'm working in version 7. Would really appreciate your help though :-)
Comment #3
jdanthinne commentedHi,
I've just pushed changes to both 6.x-DEV and 7.x-DEV versions, with max length and size settings, available in Custom Search settings and in each block settings as well.
@naseem_sarwar : why do you want to get rid of special chars? Sometimes they are used by search engines for special options… But you can do that with simple jQuery script in yout theme I think.
Comment #4
Anonymous (not verified) commentedHi, really like this module, and also would like to change the size of the search box. does the version 7.x-1.x-dev incorporate this yet? i just downloaded/enabled and it seems to be the same as the prior version i was using, 7.x-1.7 (i.e. i can't find where to edit the length of the box).
also, is there a way to get the search button to the right of the box?
thank you so much for your work and help on these issues!
Comment #5
jdanthinne commented@lineyw : yes, I've made changes to 7.x as well, but DEV is not yet available (should be tomorrow). And to align the button on the right, just add some css to 'float:left' the search box and the button.
Comment #6
deeve commented@jdanthinne, many thanks for a superb module. I too have a need to style the text input search box but have wrestled with problem for a day now! I am using your version 7.x-1.7 with a custom sub-theme of Zen which I have in my sites/all/themes folder. I've tried so many different ways to access the css but with no luck so far. I have in fact 2 custom searches - 1 made through your Admin & 1 made within a custom block. I would ideally prefer to be able to style them individually - any ideas?
Also, in one of my searches, I was hoping to be able to use a combination of 3 search terms, which doesn't appear possible in your current module: I have a database of establishments which are located nationwide. I therefore need to offer the ability to search for a specific type of establishment [drop-down box: Type 1, Type2 etc] within a radius of 'x' miles [drop-down box: 10miles, 15miles, etc] & then allow the user to input their postcode in a text box to complete the search.
I can currently manage 2 custom search terms within your Admin: Type & Postcode but need the extra Drop-Down box to declare the distance. Would I therefore have to hard code the additional Drop-Down box or would that crash the Admin?
ps - I just downloaded your 7x dev version & took a look inside but couldn't see a way to achieve this, or indeed the styling of the two Text Input boxes. I didn't uploaded to my site as feared it may overwrite my current, custom search profiles.
Thanks.
Comment #7
RmrJmrGrl commentedWhat version has the field size options? I just installed 7.x.1.7 and didn't see any options for configuring size.
Comment #8
jdanthinne commented@RmrJmrGrl : Try the DEV version.
Comment #9
RmrJmrGrl commentedI ran the update modules and the DEV didn't show up as an option. It won't let me install over the version I have installed. How do I get the DEV installed?
TIA for your help...this is my first Drupal site so forgive the newbie questions!! ;)
Comment #10
jdanthinne commented@RmrJmrGrl : here http://drupal.org/node/732402
Comment #11
deeve commented@jdanthinne, many thanks for the dev update which took care of my problem in re-sizing the text box. Did you have a chance to review my other question re adding an additional, second drop-down select box within a custom search?
Comment #12
prathK commentedHi Deeve,
According to you the Distance, Type & Postcode are of type taxonomy ?
And you want those to be displayed in the custom_search_block ?
If so you have two options either you can show them through taxonomy terms itself
by admin/config/search/custom_search/taxonomy
The option to display these drop downs are disabled by default in D7 in the current 7.x-1.x-dev version.
If 'Distance' is your taxonomy then the same will be available in above specified path, you just have to
enable the same. That will add additional drop down/ radio buttons or multiselect as you require.
Good luck !!! :)
Regards,
PrathK
Comment #13
deeve commented@PrathK: many thanks for your reply. My only issue now is that the search string value of these Taxonomy terms are represented within the url by their numeric value of their position within their Taxonomy list, rather than the word itself. How can I change this behavior. ie:
one, two, three, four [currently displays as] 1, 2, 3, 4
one, two, three, four [I'd prefer to display as] one, two, three, four
Thanks.
Comment #14
prathK commentedHi deeve,
you mean you have taxonomy with term values as 1,2,3,4 right ?
Then you can use the custom_search_path from the same link ie. admin/config/search/custom_search/taxonomy.
There you have to specify paths as terms as follows :
taxonomy/term/[termid for 1] | One
taxonomy/term/[termid for 2] | Two
taxonomy/term/[termid for 3] | Three
disable the taxonomy for the same and enable the cutom_search_path, that will solve the problem.
regards,
PrathK
Comment #15
deeve commentedHi PrathK,
I thought 'Custom Search Path' property declared where the Search page results are shown? Currently I only have only one: search/node/%25/[key]/[terms] which shows the data input of the text form input box & the 2 Select boxes on a page: /search/node/.
As I understand, I only have one dialogue for Custom Search Paths & have 2 Select boxes, so how could that work with my scenario? I'm a bit confused but thank you for your time in replying.
Comment #17
deeve commentedActually, still not solved as yet..
Comment #18
heddnI'm taking some liberty but a support request from 2011 is probably fixed or irrelevant. If you disagree, please reopen and provide more details.