This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function ($) { | |
| Drupal.behaviors.mercySolrFacetBlocks = { | |
| attach: function (context, settings) { | |
| $('.block-facetapi', context).accordion({ header: "h2" }); | |
| } | |
| }; | |
| }(jQuery)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Block call back for a media block. | |
| */ | |
| function example_block_media($entity = NULL, $child_title = NULL) { | |
| $block = array(); | |
| $wrapper = empty($entity) ? entity_metadata_wrapper('node', menu_get_object()) : $entity; | |
| if ($wrapper->type->value() == 'parent' || $wrapper->type->value() == 'child') { | |
| if ($value = $wrapper->field_video_embed_code->value(array( | |
| 'sanitize' => TRUE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Per-document boosts. | |
| * | |
| * @param object $query | |
| * An object implementing DrupalSolrQueryInterface | |
| */ | |
| function example_solr_promote($query) { | |
| // ask to return the field from solr | |
| $query->addParam('fl', array( | |
| 'bs_field_search_promote' // field_search_promote is a single value boolean field to turn on/off solr boosting |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function example_facetapi_hash_alter(&$hash, $delta) { | |
| preg_match('/(.+@)(.+?)(:.+)/', $delta, $matches); | |
| $delta = $matches[1] . EXAMPLE_SEARCHER_ID . $matches[3]; | |
| $hash = substr(drupal_hash_base64($delta), 0, 32); | |
| $hash = strtr($hash, array('-' => '0', '_' => '1')); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Implements hook_form_FORM_ID_alter(). | |
| */ | |
| function example_form_contact_site_form_alter(&$form, &$form_state, $form_id) { | |
| $form['cid']['#access'] = FALSE; | |
| $form['copy']['#access'] = FALSE; | |
| $form['copy']['#default_value'] = TRUE; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Block call back for a media block. | |
| */ | |
| function example_block_media($entity = NULL, $child_title = NULL) { | |
| $block = array(); | |
| $wrapper = empty($entity) ? entity_metadata_wrapper('node', menu_get_object()) : $entity; | |
| if ($wrapper->type->value() == 'parent' || $wrapper->type->value() == 'child') { | |
| if ($value = $wrapper->field_video_embed_code->value(array( | |
| 'sanitize' => TRUE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Drupal.r2i_theme.ManagementTeamSlide = function (context, settings) { | |
| $('div.view-management-team-flexslider div.views-row', context).each(function () { | |
| $('div.flexslider', this).bind({ | |
| mouseenter: function() { | |
| var slideshow = $(this); | |
| clearTimeout(resetPlayer); | |
| slideshow.flexslider('play'); | |
| resetPlayer(slideshow); | |
| }, | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public ssh | |
| ssh-dss AAAAB3NzaC1kc3MAAACBAK8Jju3wz91jD6zj7uFTVbk4NCoAtsxzDx/kliPtstZf7Se9ag23mULzd76pJ4TjzqyX32cQxCvFdUKoJYX9yODnlSTXp9OMExc7fAhveB9NouqCQ5bwU5+/Ugb9ZitRgS5AmQ88ejVJnk+7XqJd9nn3fdmQteKXV3ZuQ4Xt70JDAAAAFQDS54umUoykJkyUIJ5hw1d8UqOLZQAAAIB87B3Wv4/b3VN973PI64Hbjvmtu8tklytdwRb048xxYJ7S5QqB8gIetNTOgGR+Ey3OyAzOoNr7VPL+0q0/yP0em0vgjUcMmmRDTivxJqOLIZPkJHvH0/Tuer+dW9OHrdLaUaHvQCgU3W+mbdRZpD1+4PKcf0TFemvTcBUYvtNKtgAAAIAyv1Mhy6vGHso8jeMS2uglwe2o7DS1ZWXCbPRz5ko5Tq6pbt7uiud3goQGnhGlkBVvAaLqX0oSQqM9QygLBO003cFCYRIOqrnS8BjccXMjoWPJtCl9qrUXR3uYzv0gOjmhDVRt8SxMIf7QBiz5qI4lEafzBCHvdrCseOr6GLbQfg== lucas@andrew |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| api = 2 | |
| core = 7.x | |
| ; Core | |
| projects[drupal][type] = core | |
| projects[drupal][download][type] = git | |
| projects[drupal][download][url] = https://github.com/omega8cc/7x.git | |
| projects[drupal][download][tag] = 7.22.1 | |
| projects[spark][type] = "profile" |