By theduke on
Hello Drupal Community.
I am developing a node module which provides a new node content type.
I want to provide a template for this content type, as outlined here: http://drupal.org/node/17565
The template named node-contenttype.tpl.php is properly recognized if I put it in a theme, but NOT so if I put in in my MODULE directory.
Is there any way to supply those types of template files with my module?
Advice appreciated.
Comments
http://api.drupal.org/api/dru
http://api.drupal.org/api/drupal/developer--hooks--core.php/function/hook_theme/6
There are attributes in the theme's associative array that allow you to set the template file location. Click the link above to read more about it.
HTH
Lead Developer and Founder of StreamRiot.com