[ic] search results
Darnell Hudson
hudsondarnell43 at verizon.net
Mon Nov 24 00:58:17 UTC 2008
Curt Hauge wrote:
> Darnell Hudson <hudsondarnell43 at verizon.net> wrote:
>
>> -----Original Message-----
>> From: interchange-users-bounces at icdevgroup.org
>> [mailto:interchange-users-bounces at icdevgroup.org]On Behalf Of Darnell
>> Hudson
>> Sent: Sunday, November 23, 2008 4:18 PM
>> To: interchange-users at icdevgroup.org
>> Subject: [ic] search results
>>
>>
>> I am trying to figure out how come my search results does not
>> come out right
>> when I do a search on a clients website. it puts the products all over
>> the website
>> so it is not lined up. I have it going to results.html
>>
>
> Play around with this. It displays 4 products per row. But you will really
> want to brush up on your html and you will certainly need to spend a LOT of
> time playing with Interchange. You have a long road ahead of you.
>
> This code should be tested for proper table structure, but it seems to work.
> You may also want to look into the table_organize tag. Many of your
> questions can be answered by searching the mail archives at icdevgroup.org.
>
> Good luck!
>
> Curt
>
> [search-region]
> <table>
> [search-list]
> [item-change 1][condition][item-field category][/condition]
> <tr>
> <td colspan="4">
> <table>
> <tr>
> <td>[item-field category]</td>
> </tr>
> </table>
> </td>
> </tr>
> <tr>
> [/item-change 1]
> <td>
> <table>
> <tr>
> <td>
> <a href="[area [item-code]]"><IMG SRC="thumb/[item-code]_b.jpg" ALT="Click
> to enlarge this image" BORDER=0 width="80"></a><br>
> [item-price]<br><a href="[area
> [item-code]]">[item-description]<br>[item-code]
> </td>
> </tr>
> </table>
> </td>
> [item-alternate 4]
> </tr>
> <tr>
> <td colspan="4">
> </td>
> </tr>
> <tr>[else][/else][/item-alternate]
> [/search-list]
> <td>
> </td>
> </tr>
> </table>
> [no-match]
> <BR><BR><BLOCKQUOTE>
> <font __FFACE__ size="2">
> Sorry, nothing was found matching <B>[calc]
> my $joiner = ' AND ';
> $joiner = ' OR ' if
> defined $Search->{''}->{mv_orsearch}[0]
> and $Search->{''}->{mv_orsearch}[0];
> my @str = grep /\D/, @{$Values->{mv_searchspec}};
> return join $joiner, @str;
> [/calc]</B>
> [if value mv_search_error]
> <P><B>Errors:
> <BR> [value-extended name=mv_search_error joiner="<BR>"]
> </B>
> [/if]
> </font>
> [/no-match]
> [more-list]
> <table width="100%">
> <tr>
> <td>
> Matches [matches] of [match-count] found.<br>
> [first-anchor]First[/first-anchor]
> [next-anchor]Next[/next-anchor]
> [prev-anchor]Previous[/prev-anchor]
> [decade-next](next 10)[/decade-next]
> [decade-prev](back 10)[/decade-prev]
> [last-anchor]Last[/last-anchor]
> <BR>[more]<BR>
> </td>
> </tr>
> </table>
> [/more-list]
> [/search-region]
>
>
yes I know I have a long road try to relearn everything.
> _______________________________________________
> interchange-users mailing list
> interchange-users at icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
>
>
More information about the interchange-users
mailing list