PDA

View Full Version : search results


cstechnet
22-Feb-2006, 08:47 PM
i am looking to space out the search result page to have the descrition and price spaced apart. Have played about with inserting table but no joy and ideas.

NormanRouxel
23-Feb-2006, 01:45 AM
You should be editing Act_ResultsTemplate.html. Note that the fragment <Actinic:SEARCH_RESULTS>
<Actinic:S_ITEM/>.
<Actinic:XMLTEMPLATE NAME="ImageLine">
<IMG SRC="NETQUOTEVAR:THUMBNAIL" NETQUOTEVAR:THUMBNAILSIZE>
</Actinic:XMLTEMPLATE>
<Actinic:S_LINK/><B><Actinic:S_PNAME/></B></A> <Actinic:S_SNAME/> <Actinic:S_PRICE/> <BR>
<Actinic:S_DESCR/><BR>
<Actinic:S_PROP/><P>
</Actinic:SEARCH_RESULTS>is iterated over for each result. So create and end the table outside this block and start and end each row within the <Actinic:SEARCH_RESULTS> and </Actinic:SEARCH_RESULTS>.

E.g. <table>
<Actinic:SEARCH_RESULTS>
<tr>
<td><Actinic:S_ITEM/>.</td>
<td><Actinic:XMLTEMPLATE NAME="ImageLine">
<IMG SRC="NETQUOTEVAR:THUMBNAIL" NETQUOTEVAR:THUMBNAILSIZE>
</Actinic:XMLTEMPLATE>
</td>
<td><Actinic:S_LINK/><B><Actinic:S_PNAME/></B></A></td>
<td><Actinic:S_SNAME/</td>
<td><Actinic:S_PRICE/></td>
<td><Actinic:S_DESCR/></td>
<td><Actinic:S_PROP/></td>
</tr>
</Actinic:SEARCH_RESULTS>
</table>
You may not need all tese cells, depending on the results you choose to display.