Skip to content

Instantly share code, notes, and snippets.

View reatcory's full-sized avatar

Cory Rogers reatcory

View GitHub Profile
function (){
$('views-field-title').slideUp();
$('views-field-field-homepage-slider-text').slideUp();
}
@reatcory
reatcory / slideshow.js
Created January 31, 2013 16:39
Rough js implementation for slider image and text boxes to be different
$('view-homepage-slider').cycle({
fx: 'fade',
speed: 'slow',
timeout: 0,
before: onBefore,
after: onAfter,
});
@reatcory
reatcory / gist:4597686
Last active December 11, 2015 11:59
custom author replacement for node on blog module
<?php if ($name): ?>
<h1 class="author" id="author"><?php print $name; ?></h1>
?php endif; ?>
function location_taxonomize_bulk_taxonomize($form, $form_state) {
$source = _location_taxonomize_get_source();
$batch_function = $source . '_bulk_taxonomize_op';
$batch = array(
'operations' => array(
array($batch_function, array($form_state)),
),
'finished' => 'location_taxonomize_bulk_taxonomize_finished',
'title' => t('Taxonomizing Locations'),
'init_message' => t('Initializing...'),