Skip to content

Instantly share code, notes, and snippets.

View ericthelast's full-sized avatar

Journey Admin ericthelast

  • The Journey
  • St. Louis, MO
View GitHub Profile
new Photostack( document.getElementById( 'photostack-1' ), {
// any other options here,
afterInit: function(ps) {
setTimeout(function() {
ps._open(true);
}, 3000);
},
afterShowPhoto: function(ps) {
setTimeout(function() {
ps._navigate('next');
@ericthelast
ericthelast / gist:8045963
Last active December 31, 2015 21:19
Using param to get bible reading plan
<?php
$markup = '';
$url = '';//putz the url here
$last_timestamp = param_get('jnet5_bible_reading_timestamp');
if ($last_timestamp < strtotime("-60 minutes")) {
$markup = file_get_contents($url);
if (strlen($markup)) {
param_set('jnet5_schedule_range_markup', $markup);
<?php
/**
* Implements hook_menu().
*/
function mymodule_menu() {
$items = array();
$items['recent-nodes'] = array(
);