If I want to theme my content type in my template.php what is the naming convention for that?

Comments

nevets’s picture

Not sure what the question is, but if you mean node base content the main/common template file is node.tpl.php. You can also make node-type.tpl.php files to theme a single type. For example if you had a content type called 'car', you could theme that type with node-car.tpl.php

msteudel’s picture

Sorry it wasn't clear. I want to know what is the naming convention for function names that I can call in my template.php file that will do the same thing as you outlined above. e.g. in Drupal 5 if I wanted to theme a view I could call theme_views_view_name() and then theme that content. But I want to theme a content type instead.