Advanced Search link works, but regular search doesn't

onfrontstreet

Joined: 2009-07-30
Posts: 2
Posted: Thu, 2009-07-30 16:18

I have gallery 2 integrated into Drupal 6.13. The search box once you are in the gallery doesn't work. When I do a search it will take me back to the main Drupal page and I'm not in gallery anymore. No error messages or anything.

Instead of being able to search in the box, users have to click the Advanced search tab and use that search which works fine.

Anyone have any ideas?

-Dan

 
desierto

Joined: 2009-10-19
Posts: 1
Posted: Mon, 2009-10-19 17:56

I am having the exact same problem... anyone have any suggestions? I have the latest version of Drupal and Gallery 2.3.

Advanced search works fine, but regular search just takes you directly to the home page.

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Tue, 2009-10-20 16:23

If you just want to search the images I created a Drupal block with this code in it.

<form action="/search/gallery"  accept-charset="UTF-8" method="post" id="search-form" class="search-form">
<div><div class="form-item">
 <div class="container-inline"><div class="form-item" id="edit-keys-wrapper">
 <input type="text" maxlength="255" name="keys" id="edit-keys" size="20" class="form-text" />
</div>
<input type="submit" name="op" id="edit-submit" value="Search"  class="form-submit" />
</div>
</div>
</fieldset>

</div></form>