WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: custom tables] Using IF statements on cells

[Resolved] [Plugin: custom tables] Using IF statements on cells

Viewing 3 replies - 1 through 3 (of 3 total)
  • Sorted it!!!

    Care to share the solution? 🙂

    In the custom tables settins in admin panel. Go into the table you have created and click on view setup then table setup.

    This is where you define the layout of your table. I added the if statement here.

    Solutions to above.

    1.
    <td>[if field=”{total_due}” check=”!=”]<font color=”red”>[/if][if field=”{total_due}” check=”>” var=”0″]€[/if]{total_due}[if field=”{total_due}” check=”!=” var=”0″]</font>[/if]</td>

    2.
    <td>[if field=”{total_paid}” check=”>” var=”0″]€[/if]{total_paid}</td>

    Hope this makes sense and helps

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: custom tables] Using IF statements on cells’ is closed to new replies.