How to use hook_theme and hook_node_load in drupal 7

Drupal makes me Happy

Recently I had a requirement of having social networking icons like Facebook share, Retweet, Google plus on all node pages of a site. So, I decided to have my own SNS module and use hook_theme() function to theme my variables.That is I don’t have to put any SNS codes in the node tpl and everything can be managed from one place. Continue reading “How to use hook_theme and hook_node_load in drupal 7”