Skip to content

Instantly share code, notes, and snippets.

View acabouet's full-sized avatar

Adrienne acabouet

  • Albuquerque, NM
View GitHub Profile
@acabouet
acabouet / node--blog_image_post.tpl.php
Created September 3, 2015 11:54
A sample Drupal 7 custom template file using variables created in a template preprocess (see template.php gist(
<?php
/**
* Created by PhpStorm.
* User: adrienne
* Date: 12/24/13
* Time: 4:41 PM
*/
global $uri;
?>
@acabouet
acabouet / template.php
Created September 3, 2015 11:51
A sample Drupal 7 template.php file for a custom theme I built for outlier.com
<?php
/**
* @file
* Template overrides as well as (pre-)process and alter hooks for the
* Outlier theme.
*/
function outlier_preprocess_node(&$variables) {