[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] Displaying category in results.html


>>> suppressed 03/27/05 04:56PM >>>

<snip....sorry, groupwise quotes horribly and i'm too lazy to fix much
atm>

> How can I retreive the category description (the name displayed in
> category_vertical) and display it in my results page?  I tried
looking
> through the code, but I was lost in the perl in the catalog_before
file.  

There are a couple of ways....but one i tend to use, if all of the
products are going to be in the same category, goes something like

[item-alternate first_only]
 <h2>[item-field category]</h2>
 <table>
  <tr>
  <!-- ...insert table tag and headers here, as opposed to in an
on-match element... —>
  </tr>
[/item-alternate]

put something similar inside your [search-list], and remove any
[on-match] that prints the table headers.  after all, you don't want to
spit them out twice.  :)
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.