PLEASE HELP! Wierd search results

General ShopSite user discussion

PLEASE HELP! Wierd search results

Postby rammac13 » Fri May 23, 2008 2:29 pm

For some reason when using the Clean-search.sst search template it makes the first product have a different look than the product search results under it. It doesn't look very good and could be confusing. Any Ideas on how I could make it all look the same? Thanks.

Here is the Clean-search.sst code:


[-- DEFINE SEARCH_RESULTS --]
<html>
<head>
[-- VAR.TextColor PAGE.TextColor --]
[-- VAR.BackgroundColor PAGE.BackgroundColor --]
[-- VAR.LinkColor PAGE.LinkColor --]
[-- VAR.VisitedLinkColor PAGE.VisitedLinkColor --]
[-- VAR.ActiveLinkColor PAGE.ActiveLinkColor --]

<title>[--Store.SearchResults --]: [-- SearchString --]</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<META NAME="robots" CONTENT="noindex,nofollow">
<style type="text/css">
<!--
body, p, h1, h2, h3, td, div, ol, ul, dl, input {font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;}
body {color: [-- VAR.TextColor --]; background-color: [-- VAR.BackgroundColor --]; font-size: 9pt; margin: 0px;}
td {font-size: 9pt;}
a.pagelink {text-decoration: none; color: [-- VAR.LinkColor --];}
a.pagelink:hover {text-decoration: none; color: [-- VAR.ActiveLinkColor --];}
a {color: [-- VAR.LinkColor --];}
a:hover {color: [-- VAR.ActiveLinkColor --];}
a.toplink {color: #FFFFFF; text-decoration: none; padding-left: 15px;}
a.toplink:hover {color: #808080;}
h1 {font-size: 16pt; text-align: center; margin-top: 0px; margin-bottom: 0px;}
h2 {font-size: 14pt; margin-top: 0px; margin-bottom: 0px;}
h3 {font-size: 12pt; margin-top: 0px; margin-bottom: 0px;}
td.paddedtext {text-align: center; padding-left: 100; padding-right: 100; font-size: 9pt; font-family: arial; color: [-- VAR.TextColor --];}
td.header {text-align: left; font-size: 18; color: [-- PAGE.BackgroundColor --];}
td.footer {text-align: center; margin-top: 10px;}
input.search_button {background-color: [-- VAR.ActiveLinkColor --]; color: [-- VAR.BackgroundColor --]; font-weight: bold; border: 2px outset [-- VAR.ActiveLinkColor --];}
input.search_button_selected {background-color: transparent; color:[-- VAR.TextColor --]; font-weight: bold; border: 2px none;}

-->
</style>
</head>
<body
[-- IF PAGE.BACKGROUNDIMAGE --]
background=[-- PAGE.BACKGROUNDIMAGE --]
[-- END_IF --]
bgcolor="[-- PAGE.BACKGROUNDCOLOR --]" text="[-- PAGE.TEXTCOLOR --]" link="[-- PAGE.LINKCOLOR --]" vlink="[-- PAGE.VISITEDLINKCOLOR --]" alink="[-- PAGE.ACTIVELINKCOLOR --]" >

<table cellSpacing="0" align="center" cellPadding="0" width="100%" border="0">
<tr>
<td height="80" class="header" bgcolor="[-- VAR.ActiveLinkColor --]" colspan="4" style="padding-left: 75;">
<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
[-- IF PAGE.DisplayPageHeader --]
[-- IF HEADER --]
<td valign="middle" class="header">[-- HEADER --]</td>
[-- ELSE --]
<td valign="middle" class="header">[-- STORE.Name --]</td>
[-- END_IF --]
[-- END_IF --]
<td align="right" style="padding-right: 75;">
<table cellpadding="0" cellspacing="0" border="0" align="right">
<tr>
<td colspan="2"></td>
</tr>
<tr>
<td align="center" style="padding-top: 8;"><a class="toplink" href="[-- OUTPUT_DIRECTORY_URL --]">Home</a></td>
<td align="center" style="padding-top: 8;"><a class="toplink" href="[-- SHOPPING_CART_URL --]">View Cart</a></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="8" colspan="4" background="[-- OUTPUT_DIRECTORY_URL --]/media/shadow.jpg"></td>
</tr>
<tr>
<td class="paddedtext">
[-- IF PAGE.DISPLAYGRAPHIC --]
<center>[--PAGE.GRAPHIC --]</center>
[-- END_IF --]
[-- IF PAGE.DISPLAYNAME --]
<center> <h1> [--PAGE.NAME --] </h1> </center>
[-- END_IF --]
#Search form at top of page

<h3>[--Store.SearchResults --]: [-- SearchString --]</h3>
<hr>

[-- IF PAGE.TEXT1 --]
<br>[-- PAGE.TEXT1 --]<br>
[-- END_IF --]
# set layout variable - save time looking up value repeatedly from the database

[-- VAR.LAYOUT PAGE.LAYOUT --]

#Start of the loop to output the search results - Products with associated Links
<br>



[-- IF SEARCHTOP --]
[-- SEARCHRESULT_FORM FORM_ONLY --]
<div id="search_info">
<table cellpadding="0" cellspacing="4" bgcolor="[-- PAGE.VisitedLinkColor --]" width="100%" style="border: 1px solid [-- PAGE.ActiveLinkColor --];">
<tr>
[-- IF SearchResultCount --]
<td><nobr><b>Showing:</b> [-- SearchResultCount --] [-- SearchResultsPerPage --]</nobr></td>
[-- END_IF --]
[-- IF SearchResultPrevNext --]
<td width="100%" align="center">[-- SearchPrevNext --]</td>
[-- END_IF --]
[-- IF SearchSortBy --]
<td align="right" style="font-weight: bold;"><nobr>[-- SearchSortBy --]</nobr></td>
[-- END_IF --]
</tr>
</table>
</form></div>
[-- END_IF --]

<table border="0" cellpadding="5" width="95%">
[-- VAR.pa_search_result "false" --]
[-- LOOP SEARCH --]
[-- IF SEARCHLINK --]
<tr>
<td></td>
<td align="left" valign="top">
<b>
[-- END_IF --]

[-- SEARCHRESULT --]

[-- IF SEARCHLINK --]
</b>
</td>
<td></td>
<td></td>
</tr>
[-- END_IF --]
[-- VAR.pa_search_result "true" --]
[-- END_LOOP SEARCH--]
[-- IF VAR.pa_search_result "false" --]
<tr>
<td align="left" valign="top">[-- STORE.88 --] [-- SEARCHSTRING --]</td>
</tr>
[-- END_IF --]

[-- IF VAR.Quantityproduct "yes" --]
<tr>
<td>
[-- Store.QuantityPricingFlag --] [-- Store.QuantityPricingMsg --]
</td>
</tr>
[-- END_IF --]

[-- IF VAR.Variableproduct "yes" --]
<tr>
<td>
[-- Store.VariablePricingFlag --] [-- Store.VariablePricingMsg --]
</td>
</tr>
[-- END_IF --]
</table>

#Search form at bottom of page
[-- IF SEARCHBOTTOM --]
[-- SEARCHRESULT_FORM FORM_ONLY --]
<div id="search_info">
<table cellpadding="0" cellspacing="4" bgcolor="[-- PAGE.VisitedLinkColor --]" width="100%" style="border: 1px solid [-- PAGE.ActiveLinkColor --];">
<tr>
[-- IF SearchResultCount --]
<td><nobr><b>Showing:</b> [-- SearchResultCount --] [-- SearchResultsPerPage --]</nobr></td>
[-- END_IF --]
[-- IF SearchResultPrevNext --]
<td width="100%" align="center">[-- SearchPrevNext --]</td>
[-- END_IF --]
[-- IF SearchSortBy --]
<td align="right" style="font-weight: bold;"><nobr>[-- SearchSortBy --]</nobr></td>
[-- END_IF --]
</tr>
</table>
</form>
</div>
[-- END_IF --]

[-- IF PAGE.TEXT2 --]
<br>[--PAGE.TEXT2 --]<br>
[-- END_IF --]
[-- IF PAGE.TEXT3 --]
[-- PAGE.TEXT3 --]
[-- END_IF --]


</td>
</tr>
<tr>
<td bgcolor="[-- VAR.LinkColor --]" colspan="4" height="80">
<table align="center" valign="middle">
<tr>
<td class="footer" colspan="4">[-- IF PAGE.DISPLAYPAGEFOOTER --] [-- FOOTER --][-- END_IF --]</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
[-- END_DEFINE SEARCH_RESULTS --]
[/code]
rammac13
 
Posts: 35
Joined: Thu Oct 18, 2007 10:30 am
Location: Oregon

Return to User Forum

Who is online

Users browsing this forum: No registered users and 76 guests

cron