Skip to content

Instantly share code, notes, and snippets.

Mark Hanna jackrabbithanna

Block or report user

Report or block jackrabbithanna

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jackrabbithanna
jackrabbithanna / gist:71e407d5ffb089b4a07778b47a5629b8
Last active Jan 24, 2017
Custom FAPI multivalued element type, 2 column grid of textfields, ajax add and remove
View gist:71e407d5ffb089b4a07778b47a5629b8
/**
* Implements hook_theme().
*
* @return array
*/
function webform_multi_theme() {
return array(
'webform_multi_url_params_field' => array(
'render element' => 'element',
),
@jackrabbithanna
jackrabbithanna / gist:170a3537adc06238d0ee9e74027727ae
Created May 25, 2017
Views export for contribution page view, with price set entity and price set relationships
View gist:170a3537adc06238d0ee9e74027727ae
$view = new view();
$view->name = 'contribution_pages';
$view->description = '';
$view->tag = 'default';
$view->base_table = 'civicrm_contribution_page';
$view->human_name = 'Contribution Pages';
$view->core = 7;
$view->api_version = '3.0';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
View gist:bd038c0ed0dcb2de21271d99d97d323e
class LmsLrsTestCaseSelenium extends \PHPUnit_Extensions_Selenium2TestCase {
/**
* Standard phpunit setup method.
*/
public function setUp() {
global $bootstrap;
if (!empty($bootstrap)) {
$this->bootstrap = $bootstrap;
View gist:b5eac41678ec9eefc022c44e9f21efc3
pcp_views_handlers.info:
name = PCP Views Field Handlers -- Additional
description = Adds some CiviCRM PCP Views handlers
core = 7.x
package = Custom
version = "7.x-1.0"
dependencies[] = civicrm
dependencies[] = views
You can’t perform that action at this time.