cck makes it possible to have a node template file for each content type with a file named, e.g. node-my_content_type.tpl.php
however, there is no corresponding template_preprocess_node_my_content_type() function that can be called to preprocess this template.
views very nicely makes it possible to have a preprocess function for any views template. it would be nice if cck did the same!
here's a workaround i found in the forums: https://drupal.org/node/684816
Comments
Comment #1
firebus commented