Skip to main content
4 votes
Accepted

Populate a Contribution form custom field from a URL parameter

You can do something like below you can use API4 to get the exact machine names civicrm/api4#/explorer/CustomField/get?select=%5B"id"%5D&where=%5B%5B"name","%3D",&...
Pradeep Nayak's user avatar
3 votes
Accepted

Base page shown instead of contribution page to public users

Problem solved: The Yoast SEO plugin was set to rewrite dynamic URLs under the Advanced -> Crawl Optimization settings. Disabling it fixed the issue.
Sarah's user avatar
  • 41
2 votes

"Warning: Undefined array key" messages on Membership form after upgrade to CiviCRM 5.66.0

Those warnings won't prevent anything from working properly with PHP 8.1, they're just warnings about how future versions of PHP will behave. See this previous question for settings to avoid having ...
Lars SG's user avatar
  • 4,083
2 votes
Accepted

How to set TODAY as default date for a custom date field placed on a contribution page?

I was able to achieve this by including this JS snippet in the extension instead, posting here incase it helps someone. var now = new Date(); var day = ("0" + now.getDate()).slice(-2); var ...
Tapash's user avatar
  • 3,004
2 votes
Accepted

5.64.0 seems to break ContributePage

5.64 moves a whole bunch of stuff into extensions and if the upgrade doesn't go smoothly there can be a mismatch between components and extensions. Check that both civicontribute component and the ...
Demerit's user avatar
  • 23.3k
2 votes

Error "cannot assign an empty string to string offset" on contribution admin page

I had a look at this and it turns out that this is a something that broke in 5.63 and we should be able to fix it for 5.64. Details here.
Lars SG's user avatar
  • 4,083
2 votes
Accepted

"Additional Contributions" section is required: why?

I believe the solution you are looking for is available via Price Sets
petednz - fuzion's user avatar
  • 28.4k
2 votes

How do I automatically check the autorenewal option by default on a membership contribution page?

For a site using CiviCRM profiles you can opt to use Joinery's Profile Conditionals extension and adapt the conditions to which you want this behavior to occur. For it be checked with any price field ...
Andy Burns's user avatar
  • 3,681
2 votes

Contribution Page: associate a contribution to a WordPress post

Once the user has submitted a post (default status unpublished) redirect the user to the Contribution page with postId in the URL. On the contribution page you can include a custom field (called post ...
Pradeep Nayak's user avatar
1 vote

Base page shown instead of contribution page to public users

This may be a permalinks issue - if you are a wordpress and CiviCRM user - go to your permalinks page (settings, permalinks) and simply let it load - if you would like, you can also click save changes ...
themak's user avatar
  • 3,441
1 vote

Public Event/Contribution Pages Not Showing

Please make sure jQuery is loading on your site. SPPagebuilder resources are not loading correctly. The payment/donation popup is not loading its contents. There seems to be a js/jQuery issue on ...
Guitarman's user avatar
  • 582
1 vote

Public Event/Contribution Pages Not Showing

A couple of ideas: I see you're using a Joomshaper Helix template. Does the template style assigned to your two menu items include a Joomla "Component" area? Are you using any custom URL ...
minbori's user avatar
  • 551

Only top scored, non community-wiki answers of a minimum length are eligible