Drupal World

Thursday, 9 December 2010

Custom template for nodes of type "page"

A common query is :

if i want to override page.tpl for nodes of type "page" what is the name is the tpl file I should use - node-page.tpl.php or page-node.tpl.php?

Theme Developer module to the rescue (available here) : the answer is :

page-node.tpl.php
Posted by Unknown at 10:08
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: themes

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2012 (3)
    • ►  April (3)
  • ►  2011 (5)
    • ►  January (5)
  • ▼  2010 (15)
    • ▼  December (6)
      • mysql dumping via an ssh tunnel
      • Convert m4a to mp3
      • Git cheatsheets
      • Changing page.tpl based on node type
      • Custom template for nodes of type "page"
      • Gpanels and Adaptivetheme - creating a two column ...
    • ►  November (9)

Popular Posts

  • Find fragmented tables in MySQL
  • Drush - find module names quickly
  • Finding fragmented MySQL tables and optimising them - bash script
  • Google Drive SDK - PHP example
  • OpenAid
  • Changing page.tpl based on node type
  • Building a blog feature with spaces, views and context
  • Drush - installing jQuery UI
  • Gpanels and Adaptivetheme - creating a two column section for blocks
  • Drush makefile - installing dev versions of module

Sites

  • Acquia
  • Dries Buytaert
  • Code Enigma
  • Ixis
  • Drupal

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

My Blog List

Picture Window theme. Powered by Blogger.