How-To call a module when a user clicks a node title or read more link if($page)
That's not how it works in Drupal.

You need to use Hook_node_view() in a custom module .module file, NOT in the template.tpl.php file. Which executes the code inside it whenever a node is viewed.

Ex:

hello_world.module

hello_world_node_view($node, $view_mode, $langcode){ 

  //code to run when node is viewed goes here.

}