I've been tinkering with API explorer and examples https://github.com/civicrm/civicrm-core/blob/4.5/api/v3/examples/ but can't find a solution.
Via Smarty I'm looking to print some text "blah blah blah" via the .tpl of a Donation (Contribution) Page if the current viewer of that page has:
- a membership of a certain type (example: "1")
- that is "active" (current or new status)
Note that this contribution page is not membership related, it is for donations.
Can someone please point me in the right direction?