Skip to content

Instantly share code, notes, and snippets.

View alexisbellido's full-sized avatar

Alexis Bellido alexisbellido

View GitHub Profile
From e1253d6e9bee364c6ee3a5ce8a8a1c5354beee1b Mon Sep 17 00:00:00 2001
From: Alexis Bellido <alexis@ventanazul.com>
Date: Tue, 10 Sep 2013 14:56:56 +0000
Subject: [PATCH] Check for node object before comparing nid with q parameter
---
sites/all/themes/tnr/templates/page.tpl.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sites/all/themes/tnr/templates/page.tpl.php b/sites/all/themes/tnr/templates/page.tpl.php
from optparse import OptionParser
parser = OptionParser()
parser.add_option("-m", "--meal", dest="meal", type="float", help="meal cost")
parser.add_option("-t", "--taxrate", dest="tax_rate",
type="float", help="tax rate")
Notice: Undefined variable: month in include() (line 104 of /var/www/dev-vance.alley.ws/sites/all/themes/vance/templates/node--event.tpl.php).
Notice: Undefined variable: day in include() (line 105 of /var/www/dev-vance.alley.ws/sites/all/themes/vance/templates/node--event.tpl.php).
Notice: Undefined variable: start_time in include() (line 172 of /var/www/dev-vance.alley.ws/sites/all/themes/vance/templates/node--event.tpl.php).
Notice: Undefined property: stdClass::$field_track_author in _vance_omniture_footer_js() (line 144 of /var/www/dev-vance.alley.ws/sites/all/modules/custom/vance_omniture/vance_omniture.module).
Notice: Undefined property: stdClass::$field_author_override in _vance_omniture_footer_js() (line 145 of /var/www/dev-vance.alley.ws/sites/all/modules/custom/vance_omniture/vance_omniture.module).
Notice: Undefined property: stdClass::$field_author in _vance_omniture_footer_js() (line 147 of /var/www/dev-vance.alley.ws/sites/all/modules/custom/vance_omniture/vance_omniture.module).
Notice: Undefined variable: month in include() (line 104 of /var/www/dev-vance.alley.ws/sites/all/themes/vance/templates/node--event.tpl.php).
Notice: Undefined variable: day in include() (line 105 of /var/www/dev-vance.alley.ws/sites/all/themes/vance/templates/node--event.tpl.php).
Notice: Undefined variable: start_time in include() (line 172 of /var/www/dev-vance.alley.ws/sites/all/themes/vance/templates/node--event.tpl.php).
Notice: Undefined property: stdClass::$field_track_author in _vance_omniture_footer_js() (line 144 of /var/www/dev-vance.alley.ws/sites/all/modules/custom/vance_omniture/vance_omniture.module).
Notice: Undefined property: stdClass::$field_author_override in _vance_omniture_footer_js() (line 145 of /var/www/dev-vance.alley.ws/sites/all/modules/custom/vance_omniture/vance_omniture.module).
Notice: Undefined property: stdClass::$field_author in _vance_omniture_footer_js() (line 147 of /var/www/dev-vance.alley.ws/sites/all/modules/custom/vance_omniture/vance_omniture.module).
@alexisbellido
alexisbellido / .vimrc
Created October 23, 2015 15:24
My .vimrc to alternate between WordPress, Drupal, HTML and Javascript coding (always work in progress)
"set shiftwidth=2
"set expandtab
set nowrapscan
set autoindent
set smarttab
" Wordpress
" set autoindent
" set cindent
" "set shiftwidth=8