search

abadlovesong - June 21, 2004 - 04:29

Ok, i really posting alot of stuff here. I'm having trouble with a search being put on my site. I'm just gonna use the one that comes with drupal but it never appears, and it's enabled and configured right. I'm using the chameleon/marvin theme. A friend of mine is using the marvin 2k theme and his search appears, but as soon as he changes the theme to chameleon, it disappears on his site. I was wondering if anyone else has run into this issue and what they did to fix it. Thanx! I really appreciate all the help you guys are giving!

Help!

abadlovesong - June 27, 2004 - 18:59

Does anyone at all know what i need to do to enable the search block in my chameleon theme? Is there a code i need to add somewhere or something else i need to do?

create a custom block

marky - June 27, 2004 - 19:57

with the following html:

<form action="search" method="post">
  <br />
  <input type="text" class="form-text" size="15" name="edit[keys]" /> 
  <input type="submit" class="form-submit" value="Find it" name="op" />
</form>

Change the 'action' to ?q=search if you're not using clean urls.

/marky

awesome

abadlovesong - June 27, 2004 - 23:52

ok now i have the search up there, only problem is, if u type something into the search block, and click submit, it doesn't actually search, it just takes you to a search page where u have to type in ur search again.

oops

marky - June 28, 2004 - 00:42

my bad, sorry ;). I use the trip_search.module and this block is coded for that. Have a look at this comment, and let us know if it works for you...

/marky

overlooked

abadlovesong - June 29, 2004 - 03:44

you know, when i looked through the drupal listing of modules to download, i overlooked the trip_search.module. So, i downloaded it, and it works great. I just installed that and placed it on my site and now i have a functioning search. This is excellent!

 
 

Drupal is a registered trademark of Dries Buytaert.