There was a post that showed how to add your own header in the list page grid. I am trying to get this in Version 10. Below is what I have from version 9.8.
Editor HTML after {BEGIN grid_row}
{BEGIN showmyheader}
<TR class="myheader">
<TD colspan="19">
<H1 style="padding: 0px 0px 5px 5px; color: rgb(82, 82, 82); font-family: Trebuchet MS, sans-serif; font-size: 150%; font-weight: bold;">
{$myheader}
</H1>
</TD>
</TR>
{END showmyheader}
And then this in After record processed
//Show Date Header
global $date;
if($date!=$data["TransDate"]){
$date=$data["TransDate"];
$row["showmyheader"]=true;
$row["myheader"]= date("l F jS, Y", strtotime($data["TransDate"]));
}
This created a nice date row at the top of records for that date.
Can this be done with a code snippet now? I tried but must need to change something.
Can anyone help or have an idea?