PDA

View Full Version : Module: Local Farm or Market Search


Dawn
07-27-2004, 05:32 PM
For the environmental oriented sites etc., this is localharvet.org 's local farm and market search I just added the $gobutton, their image banner underneath and applied it as a module and wanted to share with any one who may find it useful for their site..

In admincp----->styles&templates ----->style manager -----> add a new template
Add a new one named adv_portal_harvest

Add this code into the template:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><b>$vba_options[portal_blockbullet] Local Farm Search</b></span></td>
</tr>
<tr>
<td class="$getbgrow" width="100%">

<!-- localharvest code -->
enter zipcode or city:
<form action="http://www.localharvest.org/getmap.jsp" method=GET target="_blank">
<input name="zip" size="11">
$gobutton
</form>
<br />
<a href="http://www.localharvest.org" target="_blank">
<img src="http://ext.localharvest.org/images/findlocalharvest.gif" border="0">
</a>
<!-- /localharvestcode code -->

</td>
</tr>
</table>
<br />


And save.

In admincp -----> vba cmps ----> add module

module title: harvest
Module Identifier: none
template to include: harvest
activate
select column
And saveimages/smilies/smile.gif

KW802
07-27-2004, 07:34 PM
Dawn,

Do you have a site we could see the module in action? Looks like it'll be a good addition for a site I'm working on.

Thanks,
Kevin

Our Sponsors
 

Dawn
07-27-2004, 07:48 PM
Dawn,

Do you have a site we could see the module in action? Looks like it'll be a good addition for a site I'm working on.

Thanks,
Kevin Certainly :) You can go right to the source at: http://www.localharvest.org/
and the same search form is on the top left. (minus our vb gobutton. oh .. you know :p

KW802
07-27-2004, 08:00 PM
Certainly :) You can go right to the source at: http://www.localharvest.org/
and the same search form is on the top left. (minus our vb gobutton. oh .. you know :p
That's actually a pretty nifty search tool. The other site I'm working on is a community based site for a town in an area that's semi-rural; being able to find local produce growers would be a nice plus. From looking at their documentation site (http://www.localharvest.org/stealthisform.jsp) it looks like I'd be able to point it towards the local zip code even.

:cool: