Created
August 30, 2012 18:40
-
-
Save Ferdi/3537100 to your computer and use it in GitHub Desktop.
submitted_by override
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Implements hook_process_node(). | |
*/ | |
function os_blog_process_node(&$variables) { | |
// ... if this is a blog node type and ... | |
$variables['submitted'] = format_date($node->created, 'short'); // better to be specific then just "short" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment