New answers tagged

0

For a quick fix, change $memType['auto_renew'] to ($memType['auto_renew'] ?? 0) for the first one, and change $membershiptTypeValue['auto_renew'] to !empty($membershiptTypeValue['auto_renew']) for the second one.


0

This was resolved via the setting for Anon user noted by Iowa boy and the User Login Block noted by Karin. I did not add the options in permissions for Auth Users - did not make any difference to operations.


1

Got to Structure -> Blocks Find the User Login block and and disable it or control its visibility by specifying Pages you want it to show up on.


1

I think 1 will take care of #2 Profile listings and forms are NOT for your public users. Only trusted users. You want to change that one Here are the permission you need for Anonymous and Authenticed Users CiviCRM: profile create CiviCRM: profile edit CiviCRM: profile view CiviContribute: make online contributions


2

org.civicoop.membershippayment does this and only this.


3

There is an extension that does that: https://github.com/Project60/org.project60.membership It can do much more than only connecting memberships and contributions via the UI so make sure that it's not an overkill for your purposes ;) Unfortunately, there is no coherent documentation so for some features you may want to contact the maintainer (Björn from ...


2

Not tested yet, but can you try calling /civicrm/contribute/invoice?reset=1&id=<contribution_id>&cid=<contact_id> in the href instead of javascript:window.print()? Note that the token <contribution_id> is the payment id that was created after you submitted the contribution form. <contact_id> is the id of the contact to which ...


3

For those who want to do this via the UI I believe this is as simple as going to civicrm/admin/financial/financialType?reset=1 and mousing over or clicking on Edit for each Financial Type and the ID will show in the url


1

For anyone else looking for this, you can use the getFields action on the Contribution entity to locate the options for the Financial Type ID. $fields = \Civi\Api4\Contribution::getFields() ->setLoadOptions([ 'id', 'name', 'label', 'abbr', 'description', 'color', 'icon', ]) ->addWhere('options', '!=', FALSE) -&...


Top 50 recent answers are included