Hello, I cannot get the custom search to show the Search submit button regardless of the settings. I tried this for several themes and none seemed to to the trick.
Hello, I cannot get the custom search to show the Search submit button regardless of the settings. I tried this for several themes and none seemed to to the trick.
Comments
Comment #1
jweberg commentedI actually just noticed this myself, which is weird cause it was working and it was tested several times. I'm looking into it. You may want to try beta2. There was a feature added to beta3 and there might be a problem with it.
Comment #2
jweberg commentedComment #3
soth commentedAt the end of the module there are inline style associations, pointing to display:none for the submit element.
Modify the 2 occurances, and you have a working module.
-$form['submit']['#attributes'] = array('style' => 'display:none;');
+$form['submit']['#attributes'] = array('style' => 'display:inline;');
Comment #4
jweberg commentedok. I've incorporated that into this new beta. Please help me with testing it. I am preparing for my trip back to the US from africa and don't have time for proper testing. Thanks.
Comment #5
photonyx commentedTested it for several themes, works as it should. Thanks for fixing it quickly, and thanks Soth for debug.
Comment #6
soth commentedYou are welcome. I'll gladly help with testing. I'm especially interested in internationalization of the module variables.
Comment #7
jweberg commentedThat's great. Thanks again. I do want to get the module variables internationalized. If you are willing to help with that great. There is one problem caused by the change in style tag on your fix. It was intended to remove the search button if there is no button text. Now if there is no button text it just displays a button with no text. Maybe that style tag wasn't the best way to go. Let's see if we can figure out another way to fix this problem. Thanks.
Comment #8
lelizondo commenteddid you leave the button text settings blank? if you did you're not gonna get a button. With: #3 nothing get's fixed, we fix something but broke another thing, now, as #7 says, if I leave the search button text blank I get the blank button witch was solved with:
Comment #9
jweberg commentedlelizondob,
For some reason that breaks the module. I'm not sure why? It started out working but for some reason caused the whole module to break. As soon as I switched that line it fixed the module. Please help us fix this and we can even try another way to accomplish this.
Comment #10
lelizondo commentedok, just to clarify
when you add:
the module just breaks?
and also, what version are you working with? 1.1-beta1 or dev?
Comment #11
jweberg commentedThat happened in the 1.x-beta. I was having some trouble with the cvs and had to create this new tag. I haven't had much time to test. I'm in the middle of a move. I might get some time tomorrow. The 1.1-beta1 is the same as the dev right now. Test on that tag.
Comment #12
lelizondo commentedI haven't had time at all because I'm reinstalling vista because of a virus, backup took me a couple of days and I'm just borrowing a laptop to check my email. As soon as I have everything up and running I'll try to see what can I do.
Comment #13
jweberg commentedI've fixed this issue and committed it. Please let me know if anyone continues to have problems with this.
Comment #14
lelizondo commentedworks great!