Active
Project:
Content Construction Kit (CCK)
Version:
6.x-2.x-dev
Component:
content.module
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Apr 2011 at 17:53 UTC
Updated:
28 Apr 2011 at 17:53 UTC
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