I would like to override only the edit page of a certain content type. Theme developer module says:
page-"content_type".tpl.php < page-node-edit.tpl.php < page-node-"nid".tpl.php < page-node.tpl.php < page.tpl.php
If I use page-"content_type".tpl.php, it also overrides the node view page and if I use page-node-edit.tpl.php it overrides the edit page of all content types.
Update:
I tried the code below, and put it in my template.php but it doesn't work.
function my_theme_preprocess_page(&$vars) {
if (isset($vars['node'])) {
$edit_or_add=basename($_GET['q']);
if ($edit_or_add=='edit' || $edit_or_add=='add') {
$vars['template_files'][]='page-' . str_replace('_','-',$vars['node']->type . '-' . $edit_or_add);
}
else {
$vars['template_files'][]='page-' . str_replace('_','-',$vars['node']->type);
}
}
}