phptemplatesdrupaldrupal-7drupal-themes

Need help adding template for single page in Drupal 7


I need some help with this one. I have looked all over here for an answer, found a similar question but the answer did not work for me. I have set up a new page in drupal 7 titled "new-setup". The node ID for this page is 3. I have created a custom theme 'new-theme' which exists as a folder within sites/all/themes. Everything is good up to this point...this is the default theme for new pages added. However I need to set up a page template for my "new-setup" page. I have added a templates foder within my 'new-theme' and added a 'page-node-3.tpl.php' template as my 'new-setup' page has a node ID of '3'. On other boards, this seems to be the proper route for setting up a template, but I have tried for several hours and cannot get it to work. Any help is much appreciated!


Solution

  • Create page--node--3.tpl.php file in your themes directory & clear cache.