<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Well it seems a standard html form does work - the form token isn't
required in this case. I'm sure it's not the right way to do it but if
the shoe fits...<br>
<br>
<p class="enter">Enter Your Zip Code:</p><br>
<form action="/search/location"><fieldset><br>
<input type="hidden" name="country" value="us"/><br>
<input type="hidden" name="unit" value="mile"/><br>
<input type="hidden" name="distance" value="100"/><br>
<input type="text" name="postal_code" size="13"/><input
type="image" src="<?php print base_path() . path_to_theme()
?>/images/search.gif"/></fieldset><br>
</form><br>
<br>
<br>
sander-martijn wrote:
<blockquote cite="mid:46E97CBD.6030001@sander-martijn.com" type="cite">
<pre wrap="">Anyone have any experience with the location module, or any other custom
search modules? It works perfectly (well I'd like the option to limit a
search to a specific content type so I can use it for 3 different types
of content and have it return results only for the one i'm searching
for). But it doesn't come with a module like the search module so that
I can add a search box into a region. I know that I can't just create a
form and drop it in a block because I need to have a form token - but
that's about all I know.
Any pointers for what I do need to do to create this block?
thanks
.sander
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<hr align="center" noshade="noshade" size="1" width="100%">
<p
style="text-align: center; font-family: verdana,arial,helvetica,sans-serif; color: rgb(51, 51, 51); font-size: 10px; text-transform: lowercase; font-style: normal; font-weight: normal;"><a
href="mailto:sander@sander-martijn.com"
style="text-decoration: none; color: rgb(0, 0, 255); font-family: verdana,arial,helvetica,sans-serif;">sander-martijn</a><br>
interface developer | architect<br>
<a href="mailto:sander@sander-martijn.com"
style="text-decoration: none; color: rgb(0, 0, 255); font-family: verdana,arial,helvetica,sans-serif;">sander@sander-martijn.com</a><br>
<a href="http://www.sander-martijn.com"
style="text-decoration: none; color: rgb(0, 0, 255); font-family: verdana,arial,helvetica,sans-serif;">www.sander-martijn.com</a>
</p>
<hr align="center" noshade="noshade" size="1" width="100%"></div>
</body>
</html>