Preprocess function trying to alter title I have used this code in template.php.

function mytemplate_preprocess_node(&amp;$variables) {
  $variables['title'] = "trial" . check_plain($node-&gt;title);
}


I was trying to alter the page title, and wanted to make a test before. When I use that code, the title disappears from the teaser. Do you know why?
You shouldn't be using that to alter the page title, you can just use drupal_set_title();