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
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