Does anyone know how to change the code on the template page member.html to show only the current payment? I don't want to remind my members how many months they have been with me!! The page currently shows each months membership and it's duration, the current membership month is in bold. Thanks for your help.
replace in amember/templates/member.html PHP: <tr {if $p.is_active}style='font-weight: bold;'{/if}> <td>{lookup arr=$products key=$p.product_id} {if $p.cancel_url}<br><a href="{$p.cancel_url}" target=top>Cancel</a>{/if} {if $p.data.CANCELLED}<br><b><small><font color=red>CANCELLED</font></small></b>{/if} </td> <td nowrap>{$p.begin_date|date_format:$config.date_format}</td> <td nowrap>{if $p.expire_date eq "2012-12-31"} - {else} {$p.expire_date|date_format:$config.date_format}{/if}</td> <td> {lookup arr=$paysystems key=$p.paysys_id} </td> <td align=right>{$config.currency|default:"$"}{$p.amount} </td> </tr> to PHP: {if $p.is_active} <tr style='font-weight: bold;'> <td>{lookup arr=$products key=$p.product_id} {if $p.cancel_url}<br><a href="{$p.cancel_url}" target=top>Cancel</a>{/if} {if $p.data.CANCELLED}<br><b><small><font color=red>CANCELLED</font></small></b>{/if} </td> <td nowrap>{$p.begin_date|date_format:$config.date_format}</td> <td nowrap>{if $p.expire_date eq "2012-12-31"} - {else} {$p.expire_date|date_format:$config.date_format}{/if}</td> <td> {lookup arr=$paysystems key=$p.paysys_id} </td> <td align=right>{$config.currency|default:"$"}{$p.amount} </td> </tr> {/if}