Experimental project

This is a sandbox project, which contains experimental code for developer use only.

Normally, if you want to write a custom template for a node type, you put a file named node--foo.tpl.php in the theme you wish to use.

Sometimes, you want to write a template for a node type that is independent of the theme chosen. This would be the case, for example, if there are multiple custom fields that need carefully themed output.

In this case, it is a bad idea to put the same node-foo.tpl.php file into the folder of each theme you might use. Doing so is (a) too much work, (b) hard to maintain if you change the template, and (c) creates code duplication where the same code occurs in multiple files on the same site.

This very simple module lets you put all of these templates into /sites/all/libraries/templates instead.

Project information

  • caution Seeking co-maintainer(s)
    Maintainers are looking for help reviewing issues.
  • Created by JamesOakley on , updated