I am using zen drupal-7 sub theme. I have created a content type named edison. I need to change the node add form for the user. I've tried adding page--node--add--edison.tpl.php in template.php. I used the following code:
if (isset($variables['node'])) {
$variables['theme_hook_suggestions'][] = 'page__node__' . str_replace('_', '--', $variables['node']->type);
}
When the $variables['theme_hook_suggestions']
variable is printed, it looks like this:
Array (
[0] => page__node
[1] => page__node__add
[2] => page__node__add__edison
[3] => page__node__edison
)
The custom .tpl is not overriding the page.tpl.php.