Toby,
For that one you need to add the agorascript pre to get it to work.
At the beginning of your search ppinc file put:
Code:
<!--agorascript-pre
{
local ($myans)="";
if ($firstpass == 0)
{
$myans = qq~
<tr><td colspan="2">
<div align="center">
<FONT FACE="ARIAL, Helvetica, sans-serif" SIZE="2" color="#000000">
<strong>
%%CategoryID%%
</strong> ~;
$firstpass = 1
}
return $myans;
}
-->
and at the end of the file put:
Code:
<!--agorascript-pre
{
local ($myans)="";
if ($ags_row_item == 0) { # last one
$myans .= ''."\n";
}
return $myans;
}
-->
HTH!
_________________
God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership