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
//shows views queries in view preview | |
$conf['views_ui_show_sql_query'] = 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
<?php | |
/** | |
* Implements hook_preprocess_block(). | |
* | |
* Adds a few helpful theming classes to a bean block: | |
* The bean's view mode, bundle (bean type), and the value of an arbitrary | |
* field, 'field_image_size'. Use this for beans placed using core blocks or | |
* the Context module. | |
*/ | |
function THEME_preprocess_block(&$variables) { |
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
// Slideshow | |
.item-list ul.slides, | |
ul.slides, | |
.node ul.slides, | |
ul.epub-slideshow { | |
@extend .unstyled_lists; | |
li { | |
//@extend .unstyled_lists; | |
//list-style-type: square; |
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
<?php | |
/** | |
* @file | |
* Code for the Volunteer Rally Core feature. | |
*/ | |
include_once 'vr_core.features.inc'; | |
/** | |
* Shift node type. |
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
# -*- mode: shell-script; mode: flyspell-prog; ispell-local-dictionary: "american" -*- | |
# | |
# Example bash aliases to improve your drush experience with bash. | |
# Copy this file to your home directory, rename and customize it to | |
# suit, and source it from your ~/.bash_profile file. | |
# | |
# Example - rename this to .drush_bashrc, and in your | |
# ~/.bash_profile add: | |
# | |
# |
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 linked_field_field_formatter_info_alter(&$infos) { | |
foreach ($infos as &$info) { | |
// Add a settings array if no settings were found. | |
if (!isset($info['settings']) || !is_array($info['settings'])) { | |
$info['settings'] = array(); | |
} |
NewerOlder