Skip to content

Instantly share code, notes, and snippets.

View laryn's full-sized avatar

Laryn laryn

View GitHub Profile
@herbdool
herbdool / convert-fc2p.php
Last active October 11, 2023 15:27
Convert Field Collection to Paragraph
<?php
/**
* Convert Field Collection to Paragraphs
*
* bee php-script convert-fc2p.php
*
* @todo add batching.
*
* - Both field_collection and paragraphs need to be enabled.
@herbdool
herbdool / convert-d7media2backdrop.php
Last active November 18, 2023 02:26
Convert D7 Media to Backdrop Media
<?php
/**
* Convert d7 media to Backdrop media
*
* bee php-script convert-d7media2backdrop.php
*
* @todo add batching.
*/

Backdrop Core Merging Guidelines

Set up your repo for committing

Check your Git config settings to ensure you have the right name/email for your committing process.

git config --get-regexp user

Backdrop Core Merging Guidelines

Set up your repo for committing

Check your Git config settings to ensure you have the right name/email for your committing process.

git config --get-regexp user
@bugfolder
bugfolder / gist:b8189c26f4f1df4becd69e677a89bff4
Created June 5, 2017 21:58
CiviCRM: For gift memberships, send email receipt to the giver
CiviCRM: For gift memberships, send email receipt to the giver
See: https://civicrm.stackexchange.com/questions/12945/
The question:
When Alice is creating and paying for a gift membership for Bob, she enters Bob's contact info and email address on the Membership Contribution form, so the emailed receipt goes to Bob (with a copy also going to the back office via the cc settings on the form) and Bob's email address becomes part of the contact record.
We have an optional custom field on the form where Alice can enter her own (different) email address and, ideally, receive a copy of the receipt as well.