Skip to content

Instantly share code, notes, and snippets.

View kevee's full-sized avatar

Kevin Miller kevee

View GitHub Profile
@kevee
kevee / open_atrium_intranet.php
Created October 19, 2011 04:37
BadCamp 2011 Open Atrium as a Campus Intranet presentation
<?php
/**
* Implementation of hook_atrium_account_links_alter()
* Here we can add new items to the account list
*/
function mymodule_atrium_account_links_alter(&$links, $space = null) {
array_splice($links, 3, 0, 'placeholder');
$links[3] = array('title' => 'Change theme', 'href' => 'user/'. $user->uid .'/edit/theme_select');
}