I'd like to start off by saying you guys have put an incredible software package together that solves a lot of my community center's needs.
We do need a payment system so in conjunction with the membership fee plugin I want to add an entry to the sidebar that says "Pay Now" and is visible if the user hasn't paid their membership dues yet.
So far I've added this code to admidio/adm_themes/simple/templates/sys-template-parts/menu.main.tpl that lets the "Pay Now" button show up permanently.
Code: Alles auswählen
{if $menuGroup.name === "Modules"}
<li class="nav-item">
<a id="PAY_NOW" class="nav-link" href="https://www.ioannis.ky/{$currentUser->getValue('usr_id')}">
<i class="fas fa-dollar-sign fa-fw"></i>Pay Now
</a>
</li>
{/if}
Thanks in advance,
Ioannis