Assign specific template to specific pages H i I am quite new in Drupal and have been trying to figure out a way to assign a specific template file to some specific pages following the taxonomy like page--user--edit.tpl.php works but I don't want to create a single template file for each page I require to change. I have been trying the following code but this doesn't work for me is there any cleaner way to achieve this in drupal 7 

function phptemplate_preprocess_page(&amp;$vars) {
 if (arg(0) == 'node' &amp;&amp; (arg(1) == '10')) {
   $vars['template_files'][] = 'page-sometest';
 }
See here Drupal 7 Theme Hook Suggestions

For nodes You can use


  node--[type|nodeid].tpl.php
  
  base template: node.tpl.php
  
  Theme hook suggestions are made based on these factors,  listed from
  the most specific template to the least.  Drupal will use the most
  specific template it finds:
  
  node--nodeid.tpl.php
  
  node--type.tpl.php
  
  node.tpl.php


Also Drupal 6 Template Suggestions

To use same tpl for multiple pages you need to use theme_preprocess_node Like

function theme_preprocess_node(&amp;$vars, $hook) {
  $node = $vars['node'];
  if(in_array($node-&gt;nid), $myuids)
   $vars['template_file'] = 'your_template_file';
}