I have created a content type of mytype in mymodule , where I need to theme teaser, I have created a template named "node--mytype" to theme whole node, but it doesn't allow me to theme teaser ,please let me know

"How can we provide a default theme in the module for node--mytype ?"

Comments

sdramos’s picture

if you want to make theme for each node type, yo have to create a new file node-type.tpl.php , type is a name node type

look at this link
http://drupal.org/node/249726

bhuvenesh18’s picture

Hi,

I have created node--mytype.tpl.php in mymodule, I need to use given file in mymodule only how can I provide theme to teaser?

Thanks